build: Support toplevel lib and mes builds.

* build-aux/build.sh.in: Add missing libdir for gcc build.
* build-aux/config.sh.in: ...here.
* build-aux/build-mes.sh: Do not overwrite srcdest, V.
This commit is contained in:
Jan Nieuwenhuizen 2019-12-05 10:02:14 +01:00
parent 066143d820
commit a820a98139
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273
2 changed files with 4 additions and 2 deletions

View file

@ -21,7 +21,7 @@
set -e
set -u
V=${V-1}
V=${V-}
if [ "$V" = 2 ]; then
set -x
@ -33,7 +33,6 @@ fi
trap 'test -f .log && cat .log' EXIT
srcdest=${srcdest-}
mes_sources="
src/gc.c
src/hash.c

View file

@ -58,6 +58,9 @@ fi
srcdir=../
fi
if test $compiler = gcc; then
AM_LDFLAGS="$AM_LDFLAGS
-L gcc-lib
"
AM_CPPFLAGS="
-D HAVE_CONFIG_H=1
-I include