mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
Didn't commit right last time...SRCH_LIBS fix...
This commit is contained in:
2
src/configure
vendored
2
src/configure
vendored
@@ -804,7 +804,7 @@ if test "${with_libraries+set}" = set; then
|
||||
fi
|
||||
|
||||
|
||||
if test "$LIBRARY_DIRS"; then
|
||||
if test "$LIBRARY_DIRS" -o "$SRCH_LIB"; then
|
||||
for dir in $LIBRARY_DIRS $SRCH_LIB; do
|
||||
if test -d "$dir"; then
|
||||
PGSQL_LDFLAGS="$PGSQL_LDFLAGS -L$dir"
|
||||
|
@@ -195,7 +195,7 @@ AC_ARG_WITH(libraries,
|
||||
LIBRARY_DIRS="$withval"
|
||||
])
|
||||
|
||||
if test "$LIBRARY_DIRS"; then
|
||||
if test "$LIBRARY_DIRS" -o "$SRCH_LIB"; then
|
||||
for dir in $LIBRARY_DIRS $SRCH_LIB; do
|
||||
if test -d "$dir"; then
|
||||
PGSQL_LDFLAGS="$PGSQL_LDFLAGS -L$dir"
|
||||
|
Reference in New Issue
Block a user