Browse Source

fix ldflags

Xℹ Ruoyao 4 năm trước cách đây
mục cha
commit
294d4a8887
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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..