mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +01:00
only static link sqlite/gmp/zlib
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user