X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcommon.am;h=64d9a22f454910fff9b673e5a119c35d08fb19bf;hb=dd6d9ec7e126e9ea84ffa0672959a4ca702df1cd;hp=390362797ad9418eff8b2f06f703cf3355868ddf;hpb=ec525f6973f5e5dd4a7015d002f3e8816be4340e;p=vlc diff --git a/modules/common.am b/modules/common.am index 390362797a..64d9a22f45 100644 --- a/modules/common.am +++ b/modules/common.am @@ -7,7 +7,7 @@ NULL = SUFFIXES = -libvlcdir = $(libdir)/vlc/$(basedir) +libvlcdir = $(vlclibdir)/$(basedir) EXTRA_DIST = Modules.am BUILT_SOURCES = CLEANFILES = $(BUILT_SOURCES) @@ -21,13 +21,11 @@ AM_LDFLAGS = -rpath '$(libvlcdir)' \ -avoid-version -module \ -export-symbol-regex ^vlc_entry \ -shrext $(LIBEXT) \ + -rpath "$(libvlcdir)" \ + -no-undefined \ `$(VLC_CONFIG) --ldflags plugin $@` -AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` -if HAVE_WIN32 -# Windows does not support undefined symbols -AM_LDFLAGS += -no-undefined -AM_LIBADD += $(LTLIBVLCCORE) -endif +AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` \ + $(LTLIBVLCCORE) $(top_builddir)/compat/libcompat.la include $(srcdir)/Modules.am