]> granicus.if.org Git - libjpeg-turbo/commitdiff
Oops. Still need to explicitly make symlinks in this script, because prefix!=/opt...
authorDRC <dcommander@users.sourceforge.net>
Wed, 17 Nov 2010 23:14:53 +0000 (23:14 +0000)
committerDRC <dcommander@users.sourceforge.net>
Wed, 17 Nov 2010 23:14:53 +0000 (23:14 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@295 632fc199-4ca6-4c93-a231-07263d6284db

release/makedpkg

index a532793488b8535aa4f99577335bfbe3689860a0..f5654643833b7ccf70b6e8ca8b42a75cf170e27e 100644 (file)
@@ -58,6 +58,13 @@ makedeb()
        /sbin/ldconfig -n $TMPDIR/usr/$__LIB
 
        if [ ! $SUPPLEMENT = 1 ]; then
+               if [ "$DEBARCH" = "amd64" ]; then
+                       ln -fs lib $TMPDIR/opt/$DIRNAME/lib64
+               else
+                       if [ ! "$__LIB" = "lib32" ]; then
+                               ln -fs lib $TMPDIR/opt/$DIRNAME/lib32
+                       fi
+               fi
                mkdir -p $TMPDIR/usr/include
                mv $TMPDIR/opt/$DIRNAME/include/turbojpeg.h $TMPDIR/usr/include
                ln -fs /usr/include/turbojpeg.h $TMPDIR/opt/$DIRNAME/include/