Commits

Anonymous committed 613c718

taglib-sharp 64-bit symlink hack

Comments (0)

Files changed (1)

var/vabs/taglib-sharp/src/taglib-sharp.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 plage
 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
+
 #######################################################################