We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db03cbf + 9ff2ad4 commit 674b6fdCopy full SHA for 674b6fd
tests/Makefile
@@ -32,9 +32,10 @@ FFLAGS += $(FFLAGS_INPUT)
32
CPPFLAGS += $(CPPFLAGS_INPUT)
33
FPPFLAGS += $(FPPFLAGS_INPUT)
34
35
-# Link to pflare - order is important
+# Link to pflare - order is important
36
+# pflare must be first for static linking
37
LDFLAGS += -Wl,-rpath,$(LIBDIR)
-LDLIBS += -L$(LIBDIR) -lpflare
38
+LDLIBS := -L$(LIBDIR) -lpflare $(LDLIBS)
39
40
EXISTING_LD := $(LD_LIBRARY_PATH)
41
EXISTING_DYLD := $(DYLD_FALLBACK_LIBRARY_PATH)
0 commit comments