diff options
author | Riku Voipio <riku.voipio@iki.fi> | 2008-03-03 18:12:29 +0200 |
---|---|---|
committer | Lauri Leukkunen <lle@rahina.org> | 2008-03-09 01:04:30 +0200 |
commit | b6203d3ba6a09f5378c77a29b78866c36fb49802 (patch) | |
tree | 85c7bd42b59d19c06a49fcfb3a16511b0e6c4fcb /debian | |
parent | b127d4b115c6f5db66e8599b68668c4975538f17 (diff) |
sb2-show needs libsb2
workaround dh_shlibdeps sb2-show links against libsb2,
but still don't want to treat libsb2 as a shared lib
(since it gets preloaded anyway). instead teach dh_shlibdeps
where to find libsb2.
Also improve clean target.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index 325b4ac..0004ec0 100755 --- a/debian/rules +++ b/debian/rules @@ -37,8 +37,9 @@ clean: checkroot rm -f build-stamp rm -rf .deps rm -f debian/substvars debian/files - rm -rf debian/tmp obj obj-build obj64 objfake + rm -rf debian/tmp obj obj-build obj-64 obj-32 objfake rm -f config.log config.status + rm -f .configure-multilib configure config.mak find -name '*.o' | xargs rm -f find -name '*.a' | xargs rm -f find -name '*.so' | xargs rm -f @@ -68,7 +69,7 @@ binary-arch: install dh_fixperms -a # FIXME, do in postinst dh_installdeb -a - dh_shlibdeps -a + LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:debian/scratchbox2/usr/lib/libsb2/ dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a |