[PATCH 1/3] build: Generate DLLs when compiling for Windows
- From: Damien Lespiau <damien lespiau gmail com>
- To: grilo-list menubar gnome org, grilo-list gnome org
- Cc: Damien Lespiau <damien lespiau intel com>
- Subject: [PATCH 1/3] build: Generate DLLs when compiling for Windows
- Date: Mon, 5 Sep 2011 12:44:26 +0100
From: Damien Lespiau <damien lespiau intel com>
When compiling for windows, libtool needs the -no-undefined flag. As it's a
good practice to have it anyway, add it unconditionally.
---
libs/net/Makefile.am | 3 +++
src/Makefile.am | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/libs/net/Makefile.am b/libs/net/Makefile.am
index 206545a..7aa853e 100644
--- a/libs/net/Makefile.am
+++ b/libs/net/Makefile.am
@@ -31,6 +31,9 @@ libgrlnet_@GRL_MAJORMINOR@_la_LIBADD = \
$(DEPS_LIBS) \
$(NET_LIBS)
+libgrlnet_@GRL_MAJORMINOR@_la_LDFLAGS = \
+ -no-undefined
+
libgrlnet_@GRL_MAJORMINOR@includedir = \
$(includedir)/@GRL_NAME@/net
diff --git a/src/Makefile.am b/src/Makefile.am
index 54d1d0a..0c727f8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -35,6 +35,9 @@ lib@GRL_NAME@_la_CFLAGS = \
lib@GRL_NAME@_la_LIBADD = \
$(DEPS_LIBS)
+lib@GRL_NAME@_la_LDFLAGS = \
+ -no-undefined
+
lib@GRL_NAME@_la_SOURCES = \
grl-media-plugin.c grl-media-plugin-priv.h \
grl-plugin-registry.c grl-plugin-registry-priv.h \
--
1.7.6
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]