Browse Source

only static link sqlite/gmp/zlib

plugin-7
arowser 6 years ago
committed by Rusty Russell
parent
commit
65fa1c4f39
  1. 2
      Makefile

2
Makefile

@ -181,7 +181,7 @@ CONFIGURATOR_CC := $(CC)
LDFLAGS = $(PIE_LDFLAGS)
ifeq ($(STATIC),1)
LDLIBS = -static -L/usr/local/lib -lgmp -lsqlite3 -lm -lz -lpthread -ldl $(COVFLAGS)
LDLIBS = -L/usr/local/lib -Wl,-dn -lgmp -lsqlite3 -lz -Wl,-dy -lm -lpthread -ldl $(COVFLAGS)
else
LDLIBS = -L/usr/local/lib -lm -lgmp -lsqlite3 -lz $(COVFLAGS)
endif

Loading…
Cancel
Save