From: Michael Wallner Date: Fri, 15 Apr 2016 09:49:14 +0000 (+0200) Subject: fix treating '*.so' as actual extension X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fpecl-ci;a=commitdiff_plain;h=23c2876aaa0808bcfedc1c5c30da6e8234341a13 fix treating '*.so' as actual extension --- diff --git a/Makefile b/Makefile index 7c570d5..7e0f3bf 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,7 @@ reconf: check $(srcdir)/php-$(PHP_VERSION)/configure php: check $(bindir)/php | $(PECL_INI) -for EXT_SONAME in $(extdir)/*.so; do \ EXT_SONAME=$$(basename $$EXT_SONAME); \ - if ! grep -q extension=$$EXT_SONAME $(PECL_INI); then \ + if test "$$EXT_SONAME" != "*.so" && ! grep -q extension=$$EXT_SONAME $(PECL_INI); then \ echo extension=$$EXT_SONAME >> $(PECL_INI); \ fi \ done