Mercurial > audlegacy-plugins
changeset 2932:f64edfcbce87
Fix PLUGIN_DEFNAME generation in case of names with hyphens.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 29 Aug 2008 02:01:38 +0300 |
parents | d8998f6d5af5 |
children | 581bec6e2d33 |
files | buildsys.mk.in |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/buildsys.mk.in Tue Aug 26 13:02:39 2008 +0100 +++ b/buildsys.mk.in Fri Aug 29 02:01:38 2008 +0300 @@ -46,7 +46,7 @@ LIB_LDFLAGS = @LIB_LDFLAGS@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ -PLUGIN_DEFNAME = `echo ${subst ${PLUGIN_SUFFIX},,${PLUGIN}} | tr [:lower:] [:upper:]` +PLUGIN_DEFNAME := `echo ${subst ${PLUGIN_SUFFIX},,${PLUGIN}} | tr '[:lower:]' '[:upper:]' | tr '-' '_'` PLUGIN_CPPFLAGS = @PLUGIN_CPPFLAGS@ -D${PLUGIN_DEFNAME}_CFGID=\"${subst ${PLUGIN_SUFFIX},,${PLUGIN}}\" PLUGIN_CFLAGS = @PLUGIN_CFLAGS@ PLUGIN_LDFLAGS = @PLUGIN_LDFLAGS@