[MPlayer-cvslog] r36311 - trunk/configure
reimar
subversion at mplayerhq.hu
Sun Jun 9 15:54:47 CEST 2013
Author: reimar
Date: Sun Jun 9 15:54:47 2013
New Revision: 36311
Log:
Add hack to fix compilation issues on OSX with broken libiconv.
Such a hack is not really a good solution, but since the
issue is relatively common it seems worth it for the moment.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Sun Jun 9 12:13:08 2013 (r36310)
+++ trunk/configure Sun Jun 9 15:54:47 2013 (r36311)
@@ -3939,7 +3939,10 @@ int main(void) {
}
EOF
_iconv=no
- for ld_tmp in "" "-liconv" "-liconv $ld_dl" ; do
+ # NOTE: -L/usr/lib is a hack to avoid issues due to a
+ # broken libiconv that e.g. macports installs into /opt/local/lib
+ # which might get addded to the search path later by e.g. SDL
+ for ld_tmp in "" "-L/usr/lib -liconv" "-liconv" "-liconv $ld_dl" ; do
cc_check $ld_tmp && extra_ldflags="$extra_ldflags $ld_tmp" &&
ld_iconv="$ld_tmp" && _iconv=yes && break
done
More information about the MPlayer-cvslog
mailing list