Changeset 8061a6a


Ignore:
Timestamp:
Feb 8, 2011, 2:27:47 AM (13 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
6965867
Parents:
8d553bf
git-author:
Anders Kaseorg <andersk@mit.edu> (02/06/11 23:33:08)
git-committer:
Anders Kaseorg <andersk@mit.edu> (02/08/11 02:27:47)
Message:
Move glib libraries from LDFLAGS to LIBS

This fixes linker errors on wheezy and natty:
http://wiki.debian.org/ToolChain/DSOLinking

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: David Benjamin <davidben@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r569f0bd r8061a6a  
    103103fi
    104104
    105 dnl Add LDFLAGS for embedded perl
     105dnl Add LIBS for embedded perl
    106106FOO=`perl -MExtUtils::Embed -e ldopts`
    107107AC_MSG_NOTICE([Adding perl LIBS ${FOO}])
     
    114114                     [AC_MSG_WARN([PAR.pm not found. Loadable modules will be disabled.])])
    115115
    116 dnl Add CFLAGS and LDFLAGS for glib-2.0
     116dnl Add CFLAGS and LIBS for glib-2.0
    117117PKG_CHECK_MODULES(GLIB,[glib-2.0 gobject-2.0])
    118118
    119119AC_MSG_NOTICE([Adding glib-2.0 CFLAGS ${GLIB_CFLAGS}])
    120120AM_CFLAGS="${GLIB_CFLAGS} ${AM_CFLAGS}"
    121 AC_MSG_NOTICE([Adding glib-2.0 LDFLAGS ${GLIB_LIBS}])
    122 AM_LDFLAGS="${GLIB_LIBS} ${AM_LDFLAGS}"
     121AC_MSG_NOTICE([Adding glib-2.0 LIBS ${GLIB_LIBS}])
     122LIBS="${GLIB_LIBS} ${LIBS}"
    123123
    124124if test "x${prefix}" = "xNONE"; then
     
    146146
    147147AC_SUBST([AM_CFLAGS])
    148 AC_SUBST([AM_LDFLAGS])
    149148AC_SUBST([LIBFAIM_CFLAGS])
    150149
Note: See TracChangeset for help on using the changeset viewer.