Fix bugs in ./configure
Fix bugs in ./configure wherein build.mk is written in src/, not mk/
This commit is contained in:
parent
a1cabeb1e1
commit
220be99359
1 changed files with 5 additions and 5 deletions
10
configure
vendored
10
configure
vendored
|
@ -95,8 +95,8 @@ SONAME_FULL = $(SONAME_SHORT).$(VERSION)
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat <<EOF >> mk/build.mk
|
cat <<EOF >> "$1"
|
||||||
PREFIX = $PREFIX
|
PREFIX = $PREFIX
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ SONAME_FULL = lib$(LIBNAME).$(VERSION).dylib
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat <<EOF >> mk/build.mk
|
cat <<EOF >> "$1"
|
||||||
PREFIX = $PREFIX
|
PREFIX = $PREFIX
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
@ -136,7 +136,7 @@ EOF
|
||||||
build_mk_append_generic "$1"
|
build_mk_append_generic "$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat <<'EOF' >> mk/build.mk
|
cat <<'EOF' >> "$1"
|
||||||
CWFLAGS = -Wall
|
CWFLAGS = -Wall
|
||||||
COFLAGS = -O2
|
COFLAGS = -O2
|
||||||
CFLAGS = $(CGFLAGS) $(CWFLAGS) $(COFLAGS)
|
CFLAGS = $(CGFLAGS) $(CWFLAGS) $(COFLAGS)
|
||||||
|
@ -164,4 +164,4 @@ if [ ! -d "mk" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
config_h_create "src/config.h"
|
config_h_create "src/config.h"
|
||||||
build_mk_create "src/build.mk"
|
build_mk_create "mk/build.mk"
|
||||||
|
|
Loading…
Add table
Reference in a new issue