diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-05-07 10:04:13 -0400 |
---|---|---|
committer | Brandon Philips <brandon@ifup.co> | 2013-05-18 18:58:24 -0700 |
commit | 14914c0540c2f73750ab09e347bfa6bc1287a6ba (patch) | |
tree | dd3835a2cbd41dcfb6cfe5b25cb49db52e5f9879 | |
parent | 3739d6d2a6decfb293113d9396155cb93e580a44 (diff) | |
download | acl-14914c0540c2f73750ab09e347bfa6bc1287a6ba.tar.gz |
acl: use SHELL from configure
If /bin/sh is not a functional enough shell, configure will select a
SHELL of /bin/bash or better. But the current build helpers always
hardcode /bin/sh, so if libtool itself configures itself for /bin/bash,
things will fail when it attempts to do:
SHELL = /bin/sh
LIBTOOL = $(SHELL) .../libtool
...
eval: 1: base_compile+= -pipe: not found
...
So rather than hardcoding SHELL to /bin/sh, set it to @SHELL@ and let
configure find a good value for us.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | include/builddefs.in | 1 | ||||
-rw-r--r-- | include/buildmacros | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/builddefs.in b/include/builddefs.in index d054a56..434ce95 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -46,6 +46,7 @@ MAKE = @make@ ECHO = @echo@ SORT = @sort@ LN_S = @LN_S@ +SHELL = @SHELL@ LIBTOOL = @LIBTOOL@ MAKEDEPEND = @makedepend@ diff --git a/include/buildmacros b/include/buildmacros index ab89182..8efb32e 100644 --- a/include/buildmacros +++ b/include/buildmacros @@ -42,7 +42,6 @@ OBJECTS = $(ASFILES:.s=.o) \ INSTALL = $(TOPDIR)/include/install-sh -o $(PKG_USER) -g $(PKG_GROUP) -SHELL = /bin/sh IMAGES_DIR = $(TOPDIR)/all-images DIST_DIR = $(TOPDIR)/dist |