]> 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:13:00 +0000 (14:13 +0400)
committerNickolay V. Shmyrev <nshmyrev@yandex.ru>
Sun, 26 Apr 2009 10:13:00 +0000 (14:13 +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 ce7eedc772c69ac3a934f6e5d9c263779664bc9e..a3b2fe3a9600ad21f95905d1bc56de36c9cd99c9 100644 (file)
@@ -133,7 +133,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)