bugfix: hopefully fixed GitHub tests
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Fri, 10 Mar 2023 23:08:56 +0000 (17:08 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Fri, 10 Mar 2023 23:08:56 +0000 (17:08 -0600)
compiler/build.sh

index da6f68bd1b454c33e6b12588eb527269c332307c..ed80b613b36b562eb766e247d4f88d5aafb3c007 100755 (executable)
@@ -6,7 +6,7 @@
 ENABLE_DEBUG_INFO=1
 
 C_FILES="onyx astnodes builtins checker clone doc entities errors lex parser symres types utils wasm_emit wasm_runtime "
-LIBS="-L$CORE_DIR/lib -l$RUNTIME_LIBRARY -Wl,-rpath=$CORE_DIR/lib:./ -lpthread -ldl -lm -l:libdyncall_s.a"
+LIBS="-L$CORE_DIR/lib -l$RUNTIME_LIBRARY -Wl,-rpath=$CORE_DIR/lib:./ -lpthread -ldl -lm ../shared/lib/linux_$ARCH/lib/libdyncall_s.a"
 INCLUDES="-I./include -I../shared/include -I../shared/include/dyncall"
 
 WARNINGS='-Wimplicit -Wmisleading-indentation -Wparentheses -Wsequence-point -Wreturn-type -Wshift-negative-value -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wmaybe-uninitialized -Wsign-compare -Wstrict-overflow -Wduplicated-branches -Wduplicated-cond -Wtrigraphs -Waddress -Wlogical-op'