projects
/
openwrt
/
staging
/
pepe2k.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63b867a
)
lldpd: inhibit linking of libbsd on !GLIBC
author
Jo-Philipp Wich
<jo@mein.io>
Mon, 24 Sep 2018 06:36:10 +0000
(08:36 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 18 Dec 2018 10:28:13 +0000
(11:28 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from
4f277eb6402684ca79c9834e8eb30c0e93368e8b
)
package/network/services/lldpd/Makefile
patch
|
blob
|
history
diff --git
a/package/network/services/lldpd/Makefile
b/package/network/services/lldpd/Makefile
index 22b55c6df135ae08e4c6af33f6154990bc7c0282..78dc54be93266c2187fbb3c82efc4cb0039b45a1 100644
(file)
--- a/
package/network/services/lldpd/Makefile
+++ b/
package/network/services/lldpd/Makefile
@@
-87,6
+87,10
@@
define Package/lldpd/conffiles
/etc/config/lldpd
endef
+CONFIGURE_VARS += \
+ $(if $(CONFIG_USE_GLIBC),,libbsd_CFLAGS=-ldo-not-link-bsd) \
+ $(if $(CONFIG_USE_GLIBC),,libbsd_LDFLAGS=-ldo-not-link-bsd)
+
CONFIGURE_ARGS += \
$(if $(CONFIG_LLDPD_WITH_PRIVSEP), \
--with-privsep-user=lldp \