X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcommon.am;h=64d9a22f454910fff9b673e5a119c35d08fb19bf;hb=799802878dc2959b9e5bf4ae1552369496f55977;hp=ec9783e3f19d0c3454f65dcdf6316d677ca7f314;hpb=42b58e873a9d91c3a1f2665a01a56525f44313d5;p=vlc diff --git a/modules/common.am b/modules/common.am index ec9783e3f1..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,12 +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_LIBADD += $(LTLIBVLCCORE) -endif +AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` \ + $(LTLIBVLCCORE) $(top_builddir)/compat/libcompat.la include $(srcdir)/Modules.am