X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcommon.am;h=3762a2b4802b2f2cd938bebec1bbce81fc3f4b83;hb=7ca4e3eb624251feb1f97cfc25104cce473e04a0;hp=1a1573c19a44282b960ef8ae585220d0fd05f910;hpb=c777887c9120a8df4304d5269a8415ccaabf2c19;p=vlc diff --git a/modules/common.am b/modules/common.am index 1a1573c19a..3762a2b480 100644 --- a/modules/common.am +++ b/modules/common.am @@ -12,24 +12,17 @@ EXTRA_DIST = Modules.am BUILT_SOURCES = CLEANFILES = $(BUILT_SOURCES) -if HAVE_PLUGINS -LTLIBVLC = $(top_builddir)/src/libvlc.la +LTLIBVLCCORE = $(top_builddir)/src/libvlccore.la AM_CFLAGS = `$(VLC_CONFIG) --cflags plugin $@` AM_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin $@` AM_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin $@` AM_LDFLAGS = -rpath '$(libvlcdir)' \ -avoid-version -module -no-undefined \ + -export-symbol-regex ^vlc_entry \ -shrext $(LIBEXT) \ `$(VLC_CONFIG) --ldflags plugin $@` -AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` $(LTLIBVLC) - -if HAVE_COMPILER_EXPORT -AM_LDFLAGS += -export-dynamic -else -AM_LDFLAGS += -export-symbol-regex ^vlc_entry -endif -endif +AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` $(LTLIBVLCCORE) include $(srcdir)/Modules.am @@ -40,3 +33,5 @@ endif nice: $(top_builddir)/compile + +.PHONY: nice