diff options
Diffstat (limited to 'ubuntu/maverick/tdevelop/debian/rules')
-rwxr-xr-x | ubuntu/maverick/tdevelop/debian/rules | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ubuntu/maverick/tdevelop/debian/rules b/ubuntu/maverick/tdevelop/debian/rules index a48dcb00c..d07b4750e 100755 --- a/ubuntu/maverick/tdevelop/debian/rules +++ b/ubuntu/maverick/tdevelop/debian/rules @@ -1,5 +1,14 @@ #!/usr/bin/make -f +# Set LD_LIBRARY_PATH to the installed library directory to allow dh_shlibdeps to function +# Also include the main Trinity path +ifeq ("$(LD_LIBRARY_PATH)", "") +LD_LIBRARY_PATH=/opt/trinity/lib:debian/tmp/opt/trinity/lib +else +LD_LIBRARY_PATH += :/opt/trinity/lib:debian/tmp/opt/trinity/lib +endif +export LD_LIBRARY_PATH + # work around debian/cdbs/uploaders.mk makebuilddir:: [ -f debian/control.tmp ] || cp debian/control debian/control.tmp @@ -79,5 +88,4 @@ binary-install/tdevelop-trinity:: cp debian/tdevelop.xpm debian/tdevelop-trinity/opt/trinity/share/pixmaps mv debian/tdevelop-trinity/usr/share/man debian/tdevelop-trinity/opt/trinity/share/ rm debian/tdevelop-trinity/opt/trinity/lib/trinity/libkdevdesignerpart.* - rm debian/tdevelop-trinity/opt/trinity/lib/libkinterfacedesigner.* rm debian/tdevelop-trinity/opt/trinity/share/services/kdevdesigner_part.desktop |