configure.ac.in: fixed static linking with libintl and libiconv
authorEric Petit <titer@videolan.org>
Tue, 6 May 2003 01:15:24 +0000 (01:15 +0000)
committerEric Petit <titer@videolan.org>
Tue, 6 May 2003 01:15:24 +0000 (01:15 +0000)
configure.ac.in

index bc3001d..5728f03 100644 (file)
@@ -182,8 +182,9 @@ if test "${nls_cv_force_use_gnu_gettext}" = "yes"; then
 else
   AC_CHECK_FUNCS(textdomain,,[
     AC_CHECK_LIB(intl,textdomain,
-      LDFLAGS_vlc="${LDFLAGS_vlc} -lintl"
-      LDFLAGS_plugins="${LDFLAGS_plugins} -lintl"
+      LDFLAGS_vlc="${LDFLAGS_vlc} ${LIBINTL}"
+      LDFLAGS_plugins="${LDFLAGS_plugins} ${LIBINTL}",,
+      ${LIBINTL}
     )
   ])
 fi