diff options
| author | Jeremy Bicha <jeremy.bicha@canonical.com> | 2022-02-03 12:11:05 -0500 |
|---|---|---|
| committer | Jeremy Bicha <jeremy.bicha@canonical.com> | 2022-02-03 12:28:26 -0500 |
| commit | 21b91b50169ef2597b4fa0eddedcb2a7b7f9f701 (patch) | |
| tree | a7bad3aff6a8e4f663de91457d192ab50e00aa53 /debian | |
| parent | 28c7dc7e2e1f00c08934cfad3c8c58814fd2ed8f (diff) | |
Use simpler syntax to build without symbolic functions
Diffstat (limited to 'debian')
| -rwxr-xr-x | debian/rules | 7 |
1 files changed, 3 insertions, 4 deletions
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) %: |