[vlc-devel] [PATCH] modules: remove bashism

KO Myung-Hun komh78 at gmail.com
Tue Apr 7 12:50:49 CEST 2015


Hi/2.

It works well here.

Thomas Guillem wrote:
> It Fixes OS/2 compilation.
> ---
>  modules/common.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules/common.am b/modules/common.am
> index 9ac2929..65c962a 100644
> --- a/modules/common.am
> +++ b/modules/common.am
> @@ -15,7 +15,7 @@ CLEANFILES = $(BUILT_SOURCES)
>  LTLIBVLCCORE = $(top_builddir)/src/libvlccore.la
>  
>  # Module name from object or executable file name.
> -MODULE_NAME = $$(p="$@"; p="$${p\#\#*/}"; p="$${p\#lib}"; p="$${p%_plugin*}"; p="$${p//-/\_}"; p="$${p%.lo}"; echo "$$p")
> +MODULE_NAME = $$(p="$@"; p="$${p\#\#*/}"; p="$${p\#lib}"; p="$${p%_plugin*}"; p=$$(echo "$$p"|sed 's/-/_/g'); p="$${p%.lo}"; echo "$$p")
>  
>  AM_CPPFLAGS = -DMODULE_STRING=\"$(MODULE_NAME)\"
>  if HAVE_DYNAMIC_PLUGINS

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr




More information about the vlc-devel mailing list