discount/discount-disable_ldconfig.patch

19 lines
585 B
Diff

--- configure.inc.orig 2011-01-16 01:10:26.000000000 +0100
+++ configure.inc 2011-01-16 01:10:49.000000000 +0100
@@ -1198,7 +1198,6 @@
if $AC_CC $_VFLAGS -o /tmp/ngc$$.so /tmp/ngc$$.c; then
USE_SONAME=T
fi
- LDCONFIG=`AC_PATH=/sbin:/usr/sbin:/usr/local/sbin acLookFor ldconfig`
__config_files="$__config_files librarian.sh"
cat > librarian.sh << EOF
#! /bin/sh
@@ -1232,7 +1231,6 @@
install)$PROG_INSTALL -c \$FULLNAME "\$1"
$PROG_LN_S -f \$FULLNAME \$1/\$LIBNAME.\$MAJOR
$PROG_LN_S -f \$FULLNAME \$1/\$LIBNAME
- test "$LDCONFIG" && $LDCONFIG "\$1"
;;
esac
EOF