From dd6008995a8e8509d71ffa906c837e7a320e8a15 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Wed, 30 Jun 2010 16:53:56 +0300 Subject: static build: do not use openssl engines We want minimal static build. And this now also breaks with our openssl since it tries to automatically dlopen some of the engine modules. --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index bea288e..c9cda6a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -41,9 +41,10 @@ endif CFLAGS_ALL += -D_ATFILE_SOURCE CFLAGS_apk.o := -DAPK_VERSION=\"$(FULL_VERSION)\" +CFLAGS_apk-static.o := -DAPK_VERSION=\"$(FULL_VERSION)\" -DOPENSSL_NO_ENGINE progs-$(STATIC) += apk.static -apk.static-objs := $(apk-objs) +apk.static-objs := $(filter-out apk.o,$(apk-objs)) apk-static.o LDFLAGS_apk.static := -static LDFLAGS_apk += -nopie -L$(obj) -- cgit v1.2.3-70-g09d2