Xℹ Ruoyao %!s(int64=4) %!d(string=hai) anos
pai
achega
294d4a8887
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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..