Commits

M0E-lnx  committed 84eb392

boo 64-bit symlink hack

  • Participants
  • Parent commits 3c000fd

Comments (0)

Files changed (1)

File var/vabs/boo/src/boo.SlackBuild

 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fpic"
   CONFIGURE_TRIPLET="x86_64-vlocity-linux"
-  LIBDIRSUFFIX="64"
+  LIBDIRSUFFIX="" # No suffix or .pc files end up in the wrong place
 elif [ "$ARCH" = "powerpc" ]; then
   SLKCFLAGS="-O2"
   CONFIGURE_TRIPLET="powerpc-vlocity-linux"
 
 #######################################################################
 #Miscellenious tweaks and things outside a normal ./configure go here #
+
+if [ "$ARCH" = "x86_64" ]; then
+        (
+        cd $PKG
+        mkdir -p usr/lib64/pkgconfig
+        for file in usr/lib/pkgconfig/*.pc; do
+                ln -sf /$file usr/lib64/pkgconfig/$(basename $file)
+        done
+        )
+fi
+
 #######################################################################
 
 # create extra symlink