[cpp-log4shib] 15/20: Don't ship the static library
Scott Cantor
cantor.2 at osu.edu
Tue Oct 19 16:14:12 UTC 2021
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to annotated tag debian/1.0.9-1
in repository cpp-log4shib.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-log4shib.git;a=commit;h=2e9d3517aadc99f4f8bc97c48d64c22ffca24381
commit 2e9d3517aadc99f4f8bc97c48d64c22ffca24381
Author: Ferenc Wágner <wferi at niif.hu>
AuthorDate: Thu Jan 14 21:44:59 2016 +0100
Don't ship the static library
---
debian/liblog4shib-dev.install | 1 -
debian/rules | 5 +++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/liblog4shib-dev.install b/debian/liblog4shib-dev.install
index 2c1cba3..bfb7f3c 100644
--- a/debian/liblog4shib-dev.install
+++ b/debian/liblog4shib-dev.install
@@ -1,7 +1,6 @@
debian/log4shib-config.1 usr/share/man/man1
usr/bin/log4shib-config
usr/include/*
-usr/lib/*/lib*.a
usr/lib/*/lib*.so
usr/lib/*/pkgconfig/log4shib.pc
usr/share/aclocal/log4shib.m4
diff --git a/debian/rules b/debian/rules
index 9e4c2f4..998c7c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,7 @@ else
endif
override_dh_auto_configure:
- dh_auto_configure -- $(DEBUG)
+ dh_auto_configure -- --disable-static $(DEBUG)
# Remove the upstream-installed documentation, and strip the build flags out
# of the Cflags and Libs pkgconfig configuration. LDFLAGS and CPPFLAGS are
@@ -32,7 +32,8 @@ override_dh_auto_configure:
override_dh_install:
pod2man --release=$(VERSION) --section=1 --center=log4shib \
debian/log4shib-config.pod debian/log4shib-config.1
- dh_install -a -i -Xlog4shib.la -Xman3 --fail-missing
+ rm debian/tmp/usr/lib/x86_64-linux-gnu/liblog4shib.la
+ dh_install -Xman3 --fail-missing
perl -i -pe 's/^(Libs: .*)\Q$(LDFLAGS)\E/$$1/' \
debian/*/usr/lib/*/pkgconfig/log4shib.pc
perl -i -pe 's/^(Cflags: .*)\Q$(CPPFLAGS)\E/$$1/' \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list