Skip to content

Commit

Permalink
[build] Adds -no-undefined flag for Cygwin build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nickolay V. Shmyrev committed Apr 26, 2009
1 parent eb0efea commit fd6cd4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions libdocument/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions libview/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit fd6cd4e

Please sign in to comment.