[librest] build: Make libtool generate DLLs on windows
- From: Damien Lespiau <dlespiau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest] build: Make libtool generate DLLs on windows
- Date: Mon, 5 Sep 2011 11:27:10 +0000 (UTC)
commit 3a25e5627a856972f399a8f0d1e57b7fbc4d252b
Author: Damien Lespiau <damien lespiau intel com>
Date: Sat Sep 3 17:01:13 2011 +0100
build: Make libtool generate DLLs on windows
libtool needs -no-undefined to generate DLLs on windows. As that flag
can't hurt (on the contrary) for other platforms, just add it to the
LDFLAGS.
rest-extras/Makefile.am | 1 +
rest/Makefile.am | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/rest-extras/Makefile.am b/rest-extras/Makefile.am
index 2db330a..c354867 100644
--- a/rest-extras/Makefile.am
+++ b/rest-extras/Makefile.am
@@ -26,6 +26,7 @@ librest_extras_ API_VERSION@_la_LIBADD = $(GLIB_LIBS) $(GTHREAD_LIBS) \
$(SOUP_LIBS) $(SOUP_GNOME_LIBS) $(XML_LIBS) \
$(GCOV_LDFLAGS) \
$(top_builddir)/rest/librest- API_VERSION@.la
+librest_extras_ API_VERSION@_la_LDFLAGS = -no-undefined
librest_extras_ API_VERSION@_la_SOURCES = $(lib_sources) $(lib_headers)
librest_extras_ API_VERSION@_la_HEADERS = $(lib_headers)
librest_extras_ API_VERSION@_ladir = $(includedir)/rest- API_VERSION@/rest-extras
diff --git a/rest/Makefile.am b/rest/Makefile.am
index bf5a5f4..7fa860b 100644
--- a/rest/Makefile.am
+++ b/rest/Makefile.am
@@ -39,6 +39,7 @@ librest_ API_VERSION@_la_CFLAGS = $(GLIB_CFLAGS) $(GTHREAD_CFLAGS) \
$(SOUP_CFLAGS) $(SOUP_GNOME_CFLAGS) \
$(XML_CFLAGS) $(GCOV_CFLAGS) \
-I$(top_srcdir) -Wall -DG_LOG_DOMAIN=\"Rest\"
+librest_ API_VERSION@_la_LDFLAGS = -no-undefined
librest_ API_VERSION@_la_LIBADD = $(GLIB_LIBS) $(GTHREAD_LIBS) \
$(SOUP_LIBS) $(SOUP_GNOME_LIBS) $(XML_LIBS) \
$(GCOV_LDFLAGS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]