Fix bugs in ./configure

Fix bugs in ./configure wherein build.mk is written in src/, not mk/
This commit is contained in:
XANTRONIX Development 2020-09-04 23:41:57 -04:00 committed by XANTRONIX Industrial
parent a1cabeb1e1
commit 220be99359

8
configure vendored
View file

@ -95,7 +95,7 @@ SONAME_FULL = $(SONAME_SHORT).$(VERSION)
EOF
cat <<EOF >> mk/build.mk
cat <<EOF >> "$1"
PREFIX = $PREFIX
EOF
}
@ -114,7 +114,7 @@ SONAME_FULL = lib$(LIBNAME).$(VERSION).dylib
EOF
cat <<EOF >> mk/build.mk
cat <<EOF >> "$1"
PREFIX = $PREFIX
EOF
}
@ -136,7 +136,7 @@ EOF
build_mk_append_generic "$1"
fi
cat <<'EOF' >> mk/build.mk
cat <<'EOF' >> "$1"
CWFLAGS = -Wall
COFLAGS = -O2
CFLAGS = $(CGFLAGS) $(CWFLAGS) $(COFLAGS)
@ -164,4 +164,4 @@ if [ ! -d "mk" ]; then
fi
config_h_create "src/config.h"
build_mk_create "src/build.mk"
build_mk_create "mk/build.mk"