summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-12-24 23:54:31 -0800
committerJay Sorg <jay.sorg@gmail.com>2017-01-06 10:52:44 -0800
commitf25659d2eeb32efb519a96e1f1ab4894de115807 (patch)
treeff8b5c377a11702d645c5518089313fa4e1dc73a
parente83a7c1fef5610b20118c2d2fac8d34b8ed7d08c (diff)
downloadxrdp-proprietary-f25659d2eeb32efb519a96e1f1ab4894de115807.tar.gz
xrdp-proprietary-f25659d2eeb32efb519a96e1f1ab4894de115807.zip
Suppress versioning for modules, tell libtool they are modules
Versioning is for libraries. Modules are not libraries; no code is linked against them. Libtool makes sure the modules can be opened by dlopen(). That is already true for ELF format, but other file formats may need special processing.
-rw-r--r--mc/Makefile.am2
-rw-r--r--neutrinordp/Makefile.am2
-rw-r--r--rdp/Makefile.am2
-rw-r--r--vnc/Makefile.am2
-rw-r--r--xup/Makefile.am2
5 files changed, 10 insertions, 0 deletions
diff --git a/mc/Makefile.am b/mc/Makefile.am
index 2171a180..09d07068 100644
--- a/mc/Makefile.am
+++ b/mc/Makefile.am
@@ -18,3 +18,5 @@ libmc_la_SOURCES = \
libmc_la_LIBADD = \
$(top_builddir)/common/libcommon.la
+
+libmc_la_LDFLAGS = -avoid-version -module
diff --git a/neutrinordp/Makefile.am b/neutrinordp/Makefile.am
index e15dacc6..673a7885 100644
--- a/neutrinordp/Makefile.am
+++ b/neutrinordp/Makefile.am
@@ -22,3 +22,5 @@ libxrdpneutrinordp_la_SOURCES = \
libxrdpneutrinordp_la_LIBADD = \
$(top_builddir)/common/libcommon.la \
$(FREERDP_LIBS)
+
+libxrdpneutrinordp_la_LDFLAGS = -avoid-version -module
diff --git a/rdp/Makefile.am b/rdp/Makefile.am
index 6b649aab..6065cc11 100644
--- a/rdp/Makefile.am
+++ b/rdp/Makefile.am
@@ -26,3 +26,5 @@ librdp_la_SOURCES = \
librdp_la_LIBADD = \
$(top_builddir)/common/libcommon.la
+
+librdp_la_LDFLAGS = -avoid-version -module
diff --git a/vnc/Makefile.am b/vnc/Makefile.am
index 80e486c3..c4fcf3fc 100644
--- a/vnc/Makefile.am
+++ b/vnc/Makefile.am
@@ -18,3 +18,5 @@ libvnc_la_SOURCES = \
libvnc_la_LIBADD = \
$(top_builddir)/common/libcommon.la
+
+libvnc_la_LDFLAGS = -avoid-version -module
diff --git a/xup/Makefile.am b/xup/Makefile.am
index 76fc016a..0d6434c8 100644
--- a/xup/Makefile.am
+++ b/xup/Makefile.am
@@ -18,3 +18,5 @@ libxup_la_SOURCES = \
libxup_la_LIBADD = \
$(top_builddir)/common/libcommon.la
+
+libxup_la_LDFLAGS = -avoid-version -module