mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
When testing to see if glib exists, set LIBS="$GLIB_LIBS $LIBS" NOT
When testing to see if glib exists, set LIBS="$GLIB_LIBS $LIBS" NOT LIBS="$LIBS $GLIB_LIBS" because order matters - if the user specifies their own $LIBS to ./configure, these need to be passed in last.
This commit is contained in:
parent
c3dc4fafbf
commit
b16bea1a87
2
glib.m4
2
glib.m4
@ -60,7 +60,7 @@ AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and ru
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $GLIB_CFLAGS"
|
||||
LIBS="$LIBS $GLIB_LIBS"
|
||||
LIBS="$GLIB_LIBS $LIBS"
|
||||
dnl
|
||||
dnl Now check if the installed GLIB is sufficiently new. (Also sanity
|
||||
dnl checks the results of glib-config to some extent
|
||||
|
Loading…
Reference in New Issue
Block a user