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.
This commit is contained in:
Pavel Roskin 2016-12-24 23:54:31 -08:00 committed by Jay Sorg
parent e83a7c1fef
commit f25659d2ee
5 changed files with 10 additions and 0 deletions

View File

@ -18,3 +18,5 @@ libmc_la_SOURCES = \
libmc_la_LIBADD = \
$(top_builddir)/common/libcommon.la
libmc_la_LDFLAGS = -avoid-version -module

View File

@ -22,3 +22,5 @@ libxrdpneutrinordp_la_SOURCES = \
libxrdpneutrinordp_la_LIBADD = \
$(top_builddir)/common/libcommon.la \
$(FREERDP_LIBS)
libxrdpneutrinordp_la_LDFLAGS = -avoid-version -module

View File

@ -26,3 +26,5 @@ librdp_la_SOURCES = \
librdp_la_LIBADD = \
$(top_builddir)/common/libcommon.la
librdp_la_LDFLAGS = -avoid-version -module

View File

@ -18,3 +18,5 @@ libvnc_la_SOURCES = \
libvnc_la_LIBADD = \
$(top_builddir)/common/libcommon.la
libvnc_la_LDFLAGS = -avoid-version -module

View File

@ -18,3 +18,5 @@ libxup_la_SOURCES = \
libxup_la_LIBADD = \
$(top_builddir)/common/libcommon.la
libxup_la_LDFLAGS = -avoid-version -module