[vlc-commits] modules: MODULE_NAME is only used for static modules
Rémi Denis-Courmont
git at videolan.org
Tue Jul 2 19:40:55 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 23 19:42:34 2013 +0300| [df0965badb3a3e28c0b9f4f0813cc7d1720b4123] | committer: Rémi Denis-Courmont
modules: MODULE_NAME is only used for static modules
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df0965badb3a3e28c0b9f4f0813cc7d1720b4123
---
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 =
More information about the vlc-commits
mailing list