X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcommon.am;h=5e4d65f57e381b811050e6e620243e813e526b06;hb=422662000ea67b4bbc817e3b26ff246cbec96d58;hp=7fbf430c520f08ebbbcec625ba6b83fdd85ca783;hpb=e1a78b744b324b4dec1e8f5f2c41c95c5b00433a;p=vlc diff --git a/modules/common.am b/modules/common.am index 7fbf430c52..5e4d65f57e 100644 --- a/modules/common.am +++ b/modules/common.am @@ -6,8 +6,7 @@ # Authors: Sam Hocevar NULL = -SUFFIXES = -libvlcdir = $(vlclibdir)/$(basedir) +libvlcdir = $(vlclibdir)/plugins/$(basedir) EXTRA_DIST = Modules.am BUILT_SOURCES = CLEANFILES = $(BUILT_SOURCES) @@ -21,6 +20,7 @@ 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 $@` \ @@ -30,10 +30,5 @@ include $(srcdir)/Modules.am if MAINTAINER_MODE $(srcdir)/Makefile.am: $(srcdir)/Modules.am $(top_srcdir)/modules/genmf - cd \$(top_srcdir) && \$(SHELL) modules/genmf $(dir) + $(AM_V_GEN)cd \$(top_srcdir) && \$(SHELL) modules/genmf $(dir) endif - -nice: - $(top_builddir)/compile - -.PHONY: nice