More linking fixes for --no-add-needed.

SVN revision: 46173
This commit is contained in:
Kim Woelders 2010-02-14 19:04:11 +00:00
parent c692f63aae
commit b3494caba9
2 changed files with 3 additions and 2 deletions

View File

@ -95,7 +95,6 @@ if test "x$enable_sound_pulse" = "xyes"; then
PKG_CHECK_MODULES(AUDIOFILE, audiofile,,)
enable_sound=pulseaudio
enable_sound_esound=no
PA_LIBS="$PA_LIBS $AUDIOFILE_LIBS"
fi
AM_CONDITIONAL(USE_LIBPA, test "x$enable_sound_pulse" = "xyes")
@ -190,7 +189,8 @@ if test "x$enable_glx" = "xyes"; then
AC_MSG_ERROR([Cannot find GLX libraries])
])
AC_CHECK_LIB(GL, glXBindTexImageEXT,
AC_DEFINE(HAVE_GLX_glXBindTexImageEXT, 1, [glXBindTexImageEXT is available]))
AC_DEFINE(HAVE_GLX_glXBindTexImageEXT, 1, [glXBindTexImageEXT is available]),
GLX_LIBS="$GLX_LIBS -ldl")
AC_SUBST(GLX_LIBS)
fi
AM_CONDITIONAL(ENABLE_GLX, test "x$enable_glx" = "xyes")

View File

@ -148,6 +148,7 @@ LDADD = \
if BUILD_MODULES
e16_LDFLAGS = -export-dynamic
MODULE_LIBS = $(DLOPEN_LIBS)
libe16dir = $(pkglibdir)