]> git.sesse.net Git - vlc/commitdiff
Put -lX11 and -lXt in the right place.
authorJean-Paul Saman <jpsaman@videolan.org>
Mon, 8 Jan 2007 18:18:20 +0000 (18:18 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Mon, 8 Jan 2007 18:18:20 +0000 (18:18 +0000)
configure.ac

index 9edec03ecba1b79f209ca131d50f4d1a1f9dc116..72cc1095ff76babb24ee7c145571ad419df8f3ad 100644 (file)
@@ -5338,7 +5338,7 @@ then
         firefox_include=`pkg-config --variable=includedir firefox-plugin`
         MOZILLA_CONFIG_H="${firefox_include}/mozilla-config.h"
         if grep '^#define MOZ_X11 1' ${MOZILLA_CONFIG_H} 2>&1 > /dev/null ; then
-            VLC_ADD_LDFLAGS([mozilla], [-lX11 -lXt ${X_LIBS} ${X_PRE_LIBS}])
+            VLC_ADD_LDFLAGS([mozilla], [${X_LIBS} ${X_PRE_LIBS} -lX11 -lXt])
         fi
         VLC_ADD_CPPFLAGS([mozilla],[${firefox_cflags} ${MOZILLA_CPPFLAGS}])
         VLC_ADD_LDFLAGS([mozilla],[${firefox_libs} ${MOZILLA_LDFLAGS}])