mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-09 04:58:16 +03:00
Correct the usage of LDFLAGS
For https://bugzilla.gnome.org/show_bug.cgi?id=761252 It is no longer necessary to save system LDFLAGS when checking lib specific LDFLAGS.
This commit is contained in:
parent
ebbd2b725f
commit
40fd6d2a1b
@ -159,7 +159,7 @@ AC_ARG_WITH(readline,
|
||||
if test "$withval" != "no" -a "$withval" != "yes"; then
|
||||
RDL_DIR=$withval
|
||||
CPPFLAGS="${CPPFLAGS} -I$withval/include"
|
||||
LIBS="${LIBS} -L$withval/lib"
|
||||
LDFLAGS="${LDFLAGS} -L$withval/lib"
|
||||
fi
|
||||
])
|
||||
AC_ARG_WITH(regexps,
|
||||
@ -195,7 +195,7 @@ AC_ARG_WITH(zlib,
|
||||
if test "$withval" != "no" -a "$withval" != "yes"; then
|
||||
Z_DIR=$withval
|
||||
CPPFLAGS="${CPPFLAGS} -I$withval/include"
|
||||
LIBS="${LIBS} -L$withval/lib"
|
||||
LDFLAGS="${LDFLAGS} -L$withval/lib"
|
||||
fi
|
||||
])
|
||||
AC_ARG_WITH(lzma,
|
||||
@ -203,7 +203,7 @@ AC_ARG_WITH(lzma,
|
||||
if test "$withval" != "no" -a "$withval" != "yes"; then
|
||||
LZMA_DIR=$withval
|
||||
CPPFLAGS="${CPPFLAGS} -I$withval/include"
|
||||
LIBS="${LIBS} -L$withval/lib"
|
||||
LDFLAGS="${LDFLAGS} -L$withval/lib"
|
||||
fi
|
||||
])
|
||||
AC_ARG_WITH(coverage,
|
||||
|
Loading…
x
Reference in New Issue
Block a user