diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | configure.in | 17 | ||||
-rw-r--r-- | tests/Makefile.am | 2 |
3 files changed, 18 insertions, 9 deletions
@@ -1,3 +1,11 @@ +2006-06-06 Behdad Esfahbod <behdad@gnome.org> + + Bug 343966 – pango Cygwin build fixes + Patch from Cygwin Ports maintainer. + + * configure.in: Use -no-undefined on all systems. [already on HEAD] + * tests/Makefile.am: Add $(EXEEXT) where appropriate. + 2006-06-05 Hans Breuer <hans@breuer.org> [merged from HEAD] * pango/pangowin32-fontmap.c(pango_win32_font_map_init) : synthesize diff --git a/configure.in b/configure.in index 9ed72b53..29049cd9 100644 --- a/configure.in +++ b/configure.in @@ -587,15 +587,16 @@ dnl ******************************************************** # Note that -module isn't included here since automake needs to see it to know # that something like pango-arabic-fc.la is a valid libtool archive # -if test "$pango_os_win32" != yes; then - # libtool option to control which symbols are exported - # right now, symbols starting with _ are not exported - LIBRARY_LIBTOOL_OPTIONS="-version-info $LT_VERSION_INFO "'-export-symbols-regex "^pango_.*"' - MODULE_LIBTOOL_OPTIONS="-export-dynamic -avoid-version "'-export-symbols-regex "^script_engine_.*"' -else +LIBRARY_LIBTOOL_OPTIONS="-version-info $LT_VERSION_INFO -no-undefined" +MODULE_LIBTOOL_OPTIONS="-export-dynamic -avoid-version -no-undefined" +if test "$pango_os_win32" = yes; then # We currently use .def files on Windows - LIBRARY_LIBTOOL_OPTIONS="-version-info $LT_VERSION_INFO -no-undefined" - MODULE_LIBTOOL_OPTIONS="-export-dynamic -avoid-version -no-undefined" + true +else + # libtool option to control which symbols are exported + # right now, symbols starting with '_' are not exported + LIBRARY_LIBTOOL_OPTIONS="$LIBRARY_LIBTOOL_OPTIONS "'-export-symbols-regex "^pango_.*"' + MODULE_LIBTOOL_OPTIONS="$MODULE_LIBTOOL_OPTIONS "'-export-symbols-regex "^script_engine_.*"' fi AC_SUBST(LIBRARY_LIBTOOL_OPTIONS) AC_SUBST(MODULE_LIBTOOL_OPTIONS) diff --git a/tests/Makefile.am b/tests/Makefile.am index c29f50e9..33155e5c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -75,7 +75,7 @@ check_PROGRAMS += cxx-test endif cxx_test_SOURCES = cxx-test.C -all-unicode.txt: gen-all-unicode +all-unicode.txt: gen-all-unicode$(EXEEXT) ./gen-all-unicode > all-unicode.txt pangorc: $(srcdir)/../modules/pangorc |