[vlc-devel] [PATCH 01/42] modules: MODULE_NAME is only used for static modules
Rémi Denis-Courmont
remi at remlab.net
Fri Jun 28 20:29:49 CEST 2013
---
modules/common.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/common.am b/modules/common.am
index 59a68d9..4dd3bb5 100644
--- a/modules/common.am
+++ b/modules/common.am
@@ -17,11 +17,12 @@ LTLIBVLCCORE = $(top_builddir)/src/libvlccore.la
MODULE_NAME = $$(p="$@"; p="$${p\#\#*/}"; p="$${p\#lib}"; echo "$${p%_plugin*}")
AM_CPPFLAGS = \
- -DMODULE_NAME=$(MODULE_NAME) \
-DMODULE_NAME_IS_$(MODULE_NAME) \
-DMODULE_STRING=\"$(MODULE_NAME)\"
if HAVE_DYNAMIC_PLUGINS
AM_CPPFLAGS += -D__PLUGIN__
+else
+AM_CPPFLAGS += -DMODULE_NAME=$(MODULE_NAME)
endif
AM_CFLAGS =
AM_CXXFLAGS =
--
1.8.3.1
More information about the vlc-devel
mailing list