Commits

Anonymous committed e159a23

mono-addins fix .dll paths by ommiting LIBDIRSUFFIX on 64-bit

  • Participants
  • Parent commits 68de6d9

Comments (0)

Files changed (1)

File var/vabs/mono-addins/src/mono-addins.SlackBuild

 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fpic"
   CONFIGURE_TRIPLET="x86_64-vlocity-linux"
-  LIBDIRSUFFIX="64"
+  LIBDIRSUFFIX="" # DO NOT USE SUFFIX FOR THIS PACKAGE
 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
-        )
+	mkdir -p $PKG/usr/lib64
+	mv $PKG/usr/lib/pkgconfig $PKG/usr/lib64/pkgconfig
 fi
 
 #######################################################################