summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/imlib2/imlib2.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/imlib2/imlib2.SlackBuild b/libraries/imlib2/imlib2.SlackBuild
index 19b6f7be97..a270604db4 100644
--- a/libraries/imlib2/imlib2.SlackBuild
+++ b/libraries/imlib2/imlib2.SlackBuild
@@ -69,6 +69,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+if ! grep -q "my_libs" configure.ac 2>/dev/null; then
+ sed -i 's|@my_libs@||' $PRGNAM-config.in
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \