build: openssl seems to require -ldl for now, so add that

cute-signatures
Timo Teräs 2012-03-28 11:28:41 +03:00
parent 5ae0206d0b
commit 86bfc631ab
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ CFLAGS_apk-test.o := -DAPK_VERSION=\"$(FULL_VERSION)\" -DOPENSSL_NO_ENGINE -DTES
progs-$(STATIC) += apk.static
apk.static-objs := $(filter-out apk.o,$(apk-objs)) apk-static.o
LDFLAGS_apk.static := -static
LIBS_apk.static := -Wl,--as-needed -ldl -Wl,--no-as-needed
LDFLAGS_apk += -nopie -L$(obj)
LDFLAGS_apk-test += -nopie -L$(obj)