summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2014-11-06 16:16:51 +0530
committerOlivier CrĂȘte <olivier.crete@collabora.com>2015-03-27 20:00:00 -0400
commit019ff35266aed4a1e8dd89109ed9532872f0034d (patch)
tree56180c1cc8f2071a13daa565bab08cbe883577b9
parent20ea22e0a11a9bdfe4d8125b68083249b694338a (diff)
downloadlibnice-019ff35266aed4a1e8dd89109ed9532872f0034d.tar.gz
configure: Disable static by default, and add win32 DLL support
https://bugs.freedesktop.org/show_bug.cgi?id=85962
-rw-r--r--configure.ac3
-rw-r--r--gst/Makefile.am4
2 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 3b4e105..96c92de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,8 @@ AM_SILENT_RULES([yes])
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_CC
AM_PROG_AR
-LT_INIT
+LT_PREREQ([2.2.6])
+LT_INIT([dlopen win32-dll disable-static])
# Check Operating System
AC_MSG_CHECKING([operating system])
diff --git a/gst/Makefile.am b/gst/Makefile.am
index 0cf811d..5f9a386 100644
--- a/gst/Makefile.am
+++ b/gst/Makefile.am
@@ -33,7 +33,7 @@ libgstnice_la_SOURCES = \
libgstnice_la_LIBADD = $(COMMON_LIBADD) $(GST_LIBS)
-libgstnice_la_LDFLAGS = -module -avoid-version
+libgstnice_la_LDFLAGS = -module -avoid-version -no-undefined
endif
@@ -52,5 +52,5 @@ libgstnice010_la_SOURCES = \
libgstnice010_la_LIBADD = $(COMMON_LIBADD) $(GST010_LIBS)
-libgstnice010_la_LDFLAGS = -module -avoid-version
+libgstnice010_la_LDFLAGS = -module -avoid-version -no-undefined
endif