[grilo/0.1.x] build: Generate DLLs when compiling for Windows
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo/0.1.x] build: Generate DLLs when compiling for Windows
- Date: Wed, 7 Sep 2011 10:29:04 +0000 (UTC)
commit 50431f08a7ce9a8087edcb0ffc747ef7e155e489
Author: Damien Lespiau <damien lespiau intel com>
Date: Mon Sep 5 12:44:26 2011 +0100
build: Generate DLLs when compiling for Windows
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 \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]