Commit 1548821f authored by Maciej Blizinski's avatar Maciej Blizinski Committed by Jean-Baptiste Kempf

Invoke check_headers with $(SHELL)

Otherwise, it gets executed with /bin/sh which on Solaris does not support the
$(...) construct. This causes 'gmake check' to fail. For example:

../src/check_headers: $(dirname ../src/check_headers): does not exist

Calling check_headers with $(SHELL) explicitly makes use of CONFIG_SHELL.
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit d1a8b724c3923bb37002e5102cae25d9594a9a95)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e0210447
...@@ -75,4 +75,4 @@ pkgconfig_DATA = libvlc.pc ...@@ -75,4 +75,4 @@ pkgconfig_DATA = libvlc.pc
$(SHELL) ./config.status --file="lib/$@" $(SHELL) ./config.status --file="lib/$@"
check-local: check-local:
$(top_srcdir)/src/check_headers $(pkginclude_HEADERS) $(SHELL) $(top_srcdir)/src/check_headers $(pkginclude_HEADERS)
...@@ -528,7 +528,7 @@ check-local: ...@@ -528,7 +528,7 @@ check-local:
exit 1; \ exit 1; \
fi ; \ fi ; \
done done
$(srcdir)/check_headers $(pluginsinclude_HEADERS) $(SHELL) $(srcdir)/check_headers $(pluginsinclude_HEADERS)
FORCE: FORCE:
@echo "Generated source cannot be phony. Go away." >&2 @echo "Generated source cannot be phony. Go away." >&2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment