Commit c2004026 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Complete flags factorization

parent 41ce29d5
...@@ -25,7 +25,7 @@ AM_LDFLAGS = -rpath '$(libvlcdir)' \ ...@@ -25,7 +25,7 @@ AM_LDFLAGS = -rpath '$(libvlcdir)' \
-avoid-version -module -no-undefined \ -avoid-version -module -no-undefined \
-shrext $(LIBEXT) \ -shrext $(LIBEXT) \
`$(VLC_CONFIG) --ldflags plugin $@` `$(VLC_CONFIG) --ldflags plugin $@`
AM_LIBADD = $(LTLIBVLC) AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` $(LTLIBVLC)
if HAVE_COMPILER_EXPORT if HAVE_COMPILER_EXPORT
AM_LDFLAGS += -export-dynamic AM_LDFLAGS += -export-dynamic
......
...@@ -46,13 +46,13 @@ EOF ...@@ -46,13 +46,13 @@ EOF
# The ${mod} plugin # The ${mod} plugin
lib${mod}_plugin_la_SOURCES = \$(SOURCES_${mod}) lib${mod}_plugin_la_SOURCES = \$(SOURCES_${mod})
nodist_lib${mod}_plugin_la_SOURCES = \$(nodist_SOURCES_${mod}) nodist_lib${mod}_plugin_la_SOURCES = \$(nodist_SOURCES_${mod})
# Force per-target objects:
lib${mod}_plugin_la_CFLAGS = \$(AM_CFLAGS) lib${mod}_plugin_la_CFLAGS = \$(AM_CFLAGS)
lib${mod}_plugin_la_CXXFLAGS = \$(AM_CXXFLAGS) lib${mod}_plugin_la_CXXFLAGS = \$(AM_CXXFLAGS)
lib${mod}_plugin_la_OBJCFLAGS = \$(AM_OBJCFLAGS) lib${mod}_plugin_la_OBJCFLAGS = \$(AM_OBJCFLAGS)
lib${mod}_plugin_la_LIBADD = \$(AM_LIBADD) \\ # Set LIBADD and DEPENDENCIES manually:
\`\$(VLC_CONFIG) -libs plugin ${mod}\` lib${mod}_plugin_la_LIBADD = \$(AM_LIBADD)
# Automake does not understand \`...\` very well inside LIBADD... lib${mod}_plugin_la_DEPENDENCIES =
lib${mod}_plugin_la_DEPENDENCIES = \$(AM_LIBADD)
EOF EOF
done done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment