From 21b91b50169ef2597b4fa0eddedcb2a7b7f9f701 Mon Sep 17 00:00:00 2001 From: Jeremy Bicha Date: Thu, 3 Feb 2022 12:11:05 -0500 Subject: Use simpler syntax to build without symbolic functions --- debian/rules | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index d26ea995..14dece23 100755 --- a/debian/rules +++ b/debian/rules @@ -2,16 +2,15 @@ include /usr/share/dpkg/architecture.mk -# Without that the tests fail, cannot register existing type 'NMAgentManagerError' -LDFLAGS=$(shell echo $$LDFLAGS | sed -e 's/-Wl,-Bsymbolic-functions//') -export LDFLAGS - ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386) BUILD_PACKAGES += -Nnetwork-manager endif export PYTHON=/usr/bin/python3 +# Without this the tests fail, cannot register existing type 'NMAgentManagerError' +export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions + PPPD_PLUGIN_DIR := $(shell dh_ppp --plugin-dir) %: -- cgit 1.3.0-6-gf8a5