Fix exporting of executable symbols on BSD when building via makefile.

This commit is contained in:
Roger A. Light 2021-02-02 16:14:05 +00:00
parent 603107b87a
commit 05292cdbef
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Broker:
- Fix exporting of executable symbols on BSD when building via makefile.
2.0.6 - 2021-01-28 2.0.6 - 2021-01-28
================== ==================

View File

@ -181,6 +181,7 @@ PLUGIN_LDFLAGS:=$(LDFLAGS)
ifneq ($(or $(findstring $(UNAME),FreeBSD), $(findstring $(UNAME),OpenBSD), $(findstring $(UNAME),NetBSD)),) ifneq ($(or $(findstring $(UNAME),FreeBSD), $(findstring $(UNAME),OpenBSD), $(findstring $(UNAME),NetBSD)),)
BROKER_LDADD:=$(BROKER_LDADD) -lm BROKER_LDADD:=$(BROKER_LDADD) -lm
BROKER_LDFLAGS:=$(BROKER_LDFLAGS) -Wl,--dynamic-list=linker.syms
SEDINPLACE:=-i "" SEDINPLACE:=-i ""
else else
BROKER_LDADD:=$(BROKER_LDADD) -ldl -lm BROKER_LDADD:=$(BROKER_LDADD) -ldl -lm