From f25659d2eeb32efb519a96e1f1ab4894de115807 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 24 Dec 2016 23:54:31 -0800 Subject: [PATCH] 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. --- mc/Makefile.am | 2 ++ neutrinordp/Makefile.am | 2 ++ rdp/Makefile.am | 2 ++ vnc/Makefile.am | 2 ++ xup/Makefile.am | 2 ++ 5 files changed, 10 insertions(+) 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