Bug #285 » 0001-Configure.ac-Do-not-clear-the-LIBS-var.patch
| configure.ac | ||
|---|---|---|
|
#
|
||
|
# Search for dlopen
|
||
|
#
|
||
|
LIBS=""
|
||
|
#OLD_LIBS=$LIBS
|
||
|
#LIBS=
|
||
|
AC_SEARCH_LIBS(dlopen, c dl)
|
||
|
if test "$LIBS" = "-lc"; then
|
||
|
LIBS=""
|
||
|
fi
|
||
|
ld_library="$LIBS"
|
||
|
LIBS=""
|
||
|
#LIBS=$OLD_LIBS
|
||
|
all_libraries="$all_libraries $ld_library"
|
||