summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiraj Razick <siraj.razick@collabora.co.uk>2012-01-31 15:55:04 -0500
committerRob Staudinger <robsta@linux.intel.com>2012-02-07 17:06:21 +0100
commit30ef34ebb0cc4a80c29e52328676f499c4e2bae3 (patch)
tree98ad40d04315adadb17354be4c6f8b475969c2eb
parentf163ef2f2e6f230acd1005780f7b6d780f2fc6da (diff)
Produce DLL files when compiled for windows
When we cross-compile telepathy-glib for windows with the current flags we end up with a static library and it creates link issues in libraries and applications which uses teleapthy-glib on windows. to solve this -no-undefined LDFLAG is introduced in this commit. This ensures all the symbols are defined when we compile for windows. see: http://www.gnu.org/software/libtool/manual/libtool.html for more details about -no-undefined flag.
-rw-r--r--telepathy-ytstenut-glib/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-ytstenut-glib/Makefile.am b/telepathy-ytstenut-glib/Makefile.am
index f208657..c6c44b0 100644
--- a/telepathy-ytstenut-glib/Makefile.am
+++ b/telepathy-ytstenut-glib/Makefile.am
@@ -46,7 +46,7 @@ nodist_libtelepathy_ytstenut_glib_la_SOURCES = \
_gen/svc.c
libtelepathy_ytstenut_glib_la_LDFLAGS = \
- -version-info "$(LT_CURRENT)":"$(LT_REVISION)":"$(LT_AGE)"
+ -no-undefined -version-info "$(LT_CURRENT)":"$(LT_REVISION)":"$(LT_AGE)"
libtelepathy_ytstenut_glib_la_LIBADD = \
$(builddir)/extensions/libfuture-extensions.la