mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-22 18:12:10 +03:00
Revert "Adjust linking so that wrapper libraries are static."
This reverts commit 021eb836e4.
That commit introduces regression, see
https://github.com/yrutschle/sslh/issues/157#issuecomment-352260802
for discussion.
This commit is contained in:
1 parent
b36fc73b7a
commit
0fc6bc8d12
1 file changed
+3
-3
@@ -24,7 +24,7 @@ endif
|
||||
CC ?= gcc
|
||||
CFLAGS ?=-Wall -g $(CFLAGS_COV)
|
||||
|
||||
LIBS=-Wl,--as-needed
|
||||
LIBS=
|
||||
OBJS=common.o sslh-main.o probe.o tls.o
|
||||
|
||||
CONDITIONAL_TARGETS=
|
||||
@@ -40,7 +40,7 @@ endif
|
||||
|
||||
ifneq ($(strip $(USELIBPCRE)),)
|
||||
CPPFLAGS+=-DLIBPCRE
|
||||
LIBS:=$(LIBS) -Wl,-Bstatic -lpcreposix -Wl,-Bdynamic -lpcre
|
||||
LIBS:=$(LIBS) -lpcreposix
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(USELIBCONFIG)),)
|
||||
@@ -54,7 +54,7 @@ ifneq ($(strip $(USELIBCAP)),)
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(USESYSTEMD)),)
|
||||
LIBS:=$(LIBS) -Wl,-Bstatic -lsystemd -Wl,-Bdynamic
|
||||
LIBS:=$(LIBS) -lsystemd
|
||||
CPPFLAGS+=-DSYSTEMD
|
||||
CONDITIONAL_TARGETS+=systemd-sslh-generator
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user