summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@civ.zcu.cz>2010-10-09 23:18:30 +0200
committerFrantišek Dvořák <valtri@civ.zcu.cz>2010-10-09 23:18:30 +0200
commitcf95084098cfdaec04af435966a67089addbeb1d (patch)
tree04e8ff4298b6849fda018cef6535a068d52e62b2
parent4100ae40f29ee52181e927a8976b04614f6e1620 (diff)
downloadxine-lib-cf95084098cfdaec04af435966a67089addbeb1d.tar.gz
xine-lib-cf95084098cfdaec04af435966a67089addbeb1d.tar.bz2
Fix compilation of xine-list on MinGW.
-rw-r--r--configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c6d2fc7a2..b0ec7efe5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2883,10 +2883,22 @@ dnl
dnl This should be fixed in the libtool package itself as all other dir names
dnl there have no trailing slash.
dnl ---------------------------------------------
+dnl Work around problem due to LTCFLAGS:
+dnl
+dnl CFLAGS is passed to LTCFLAGS directly from configure instead of Makefiles.
+dnl Fixing LTCFLAGS here will help compile xine-list on some crazy platforms.
+dnl
+dnl It disables multi-pass compilation of xine-list.
+dnl ---------------------------------------------
dnl Note: Brackets [] must be doubled as they are treated as m4 macro quotes.
cat libtool | sed -e '/sys_lib_search_path_spec=/s/\/\([[ "]]\)/\1/g' > libtool.tmp
mv -f libtool.tmp libtool
+
+dnl removing make-specific variable
+cat libtool | sed 's/\\$(MULTIPASS_CFLAGS)//' > libtool.tmp
+mv -f libtool.tmp libtool
+
chmod +x libtool
dnl ---------------------------------------------