]> www.fi.muni.cz Git - evince.git/commitdiff
[build] Adds -no-undefined flag for Cygwin build
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>
Sun, 26 Apr 2009 10:16:15 +0000 (14:16 +0400)
committerNickolay V. Shmyrev <nshmyrev@yandex.ru>
Sun, 26 Apr 2009 10:16:15 +0000 (14:16 +0400)
Added flag -no-undefined required by Cygwin for installed shared
libraries since Cygwin's libtool can't track library dependency
automatically. Fixes GNOME bug #580058. Patch from Yaakov Selkowitz
<yselkowitz@users.sourceforge.net>

configure.ac
libdocument/Makefile.am
libview/Makefile.am

index 2ad57d0ccc985740b84405ab8137624546e95c15..e7eb1be911e920f9e7a2dbe9b94f7baed807098a 100644 (file)
@@ -132,7 +132,7 @@ fi
 AC_SUBST(SMCLIENT_CFLAGS)
 AC_SUBST(SMCLIENT_LIBS)
 
-BACKEND_LIBTOOL_FLAGS="-module -avoid-version -export-symbols \$(top_srcdir)/backend/backend.symbols"
+BACKEND_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -export-symbols \$(top_srcdir)/backend/backend.symbols"
 AC_SUBST(BACKEND_LIBTOOL_FLAGS)
 
 dnl ===== Check special functions
index a16b68e7d799282c2c7752c442be1d09487ed3ee..aa77ccab4f315ca9efdd3bb9bcb13dab42490cc0 100644 (file)
@@ -91,6 +91,7 @@ libevdocument_la_CFLAGS = \
 
 libevdocument_la_LDFLAGS = \
        -version-info $(EV_DOCUMENT_LT_VERSION_INFO)    \
+       -no-undefined   \
        -export-symbols-regex "^ev_*"   \
        $(AM_LDFLAGS)
 
index 1726d79c05a94b790a1294abc794f8bcb19dca0f..edfacef68087fbe7ca2a34de46216637be8afbb8 100644 (file)
@@ -49,6 +49,7 @@ libevview_la_CFLAGS = \
 
 libevview_la_LDFLAGS = \
        -version-info $(EV_VIEW_LT_VERSION_INFO)        \
+       -no-undefined   \
        -export-symbols-regex "^ev_*"   \
        $(AM_LDFLAGS)