discount/discount-disable_ldconfig.patch

21 lines
667 B
Diff
Raw Normal View History

Index: configure.inc
===================================================================
--- configure.inc.orig
+++ configure.inc
@@ -1270,7 +1270,6 @@ __AC_ELF_LIBRARIAN() {
if $AC_CC $_VFLAGS -o ngc$$.so 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
@@ -1304,7 +1303,6 @@ files) echo "\$FULLNAME" "\$LIBNAME" "\
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