Stop dh_makeshlibs thinking that the LD_PRELOAD module libreaddir-rand.so (part of the tests) is meant to be a shared library

This commit is contained in:
Simon McVittie 2016-03-19 17:33:52 +00:00
parent 277fe5620f
commit 75f85052e2
2 changed files with 6 additions and 0 deletions

2
debian/changelog vendored
View File

@ -34,6 +34,8 @@ ostree (2016.3-1) UNRELEASED; urgency=medium
* Add patch to fix underlinking of test-archive
* Add patch to skip one build-time test if /var/tmp cannot support xattrs,
for example if it is on tmpfs
* Stop dh_makeshlibs thinking that the LD_PRELOAD module libreaddir-rand.so
(part of the tests) is meant to be a shared library
-- Simon McVittie <smcv@debian.org> Wed, 27 Jan 2016 13:04:34 +0100

4
debian/rules vendored
View File

@ -29,6 +29,10 @@ override_dh_install:
rm -f debian/tmp/usr/lib/ostree/installed-tests/*.la
dh_install --fail-missing
override_dh_makeshlibs:
# this is an LD_PRELOAD, not a real shared library
dh_makeshlibs -Xostree/installed-tests/libreaddir-rand.so
override_dh_fixperms:
dh_fixperms -X'*.js'
chmod -v +x debian/tmp/usr/lib/ostree/installed-tests/*.js