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