Xℹ Ruoyao 4 anni fa
parent
commit
294d4a8887
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      demo/Makefile

+ 2 - 1
demo/Makefile

@@ -1,8 +1,9 @@
 LIBS=-ljump -lm
+LDFLAGS=-L..
 
 UNAME_S := $(shell uname -s)
 ifeq ($(UNAME_S), Linux)
-	LDFLAGS+=-L.. -Wl,-rpath -Wl,'$${ORIGIN}/..'
+	LDFLAGS+=-Wl,-rpath -Wl,'$${ORIGIN}/..'
 endif
 
 CFLAGS=-I..