diff options
Diffstat (limited to 'source/l/libimobiledevice')
-rwxr-xr-x | source/l/libimobiledevice/libimobiledevice.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/l/libimobiledevice/libimobiledevice.SlackBuild b/source/l/libimobiledevice/libimobiledevice.SlackBuild index 09aa21f3f..c8d0e3730 100755 --- a/source/l/libimobiledevice/libimobiledevice.SlackBuild +++ b/source/l/libimobiledevice/libimobiledevice.SlackBuild @@ -82,6 +82,7 @@ if [ ! -r configure ]; then NOCONFIGURE=1 ./autogen.sh fi +PYTHON=/usr/bin/python3 \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -100,6 +101,11 @@ make install DESTDIR=$PKG || exit 1 # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la +# Provide a symlink from the old pkgconfig name: +( cd $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig + ln -sf libimobiledevice-1.*.pc libimobiledevice.pc +) + # Strip binaries: find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null |