mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 04:28:26 +00:00
Fixed build script for *BSD (#743)
This commit is contained in:
parent
c961e1a4d5
commit
89d536df5a
1 changed files with 4 additions and 3 deletions
7
make.sh
7
make.sh
|
@ -80,6 +80,10 @@ uninstall() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[ -z "${UNAME}" ] && UNAME=$(uname)
|
||||||
|
[ -z "${MAKE}" ] && MAKE=make
|
||||||
|
#[ -n "${MAKE_JOBS}" ] && MAKE="$MAKE -j${MAKE_JOBS}"
|
||||||
|
|
||||||
if [ "$UNAME" = SunOS ]; then
|
if [ "$UNAME" = SunOS ]; then
|
||||||
[ -z "${MAKE}" ] && MAKE=gmake
|
[ -z "${MAKE}" ] && MAKE=gmake
|
||||||
INSTALL_BIN=ginstall
|
INSTALL_BIN=ginstall
|
||||||
|
@ -91,9 +95,6 @@ if [ -n "`echo "$UNAME" | grep BSD`" ]; then
|
||||||
PREFIX="${PREFIX-/usr/local}"
|
PREFIX="${PREFIX-/usr/local}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -z "${UNAME}" ] && UNAME=$(uname)
|
|
||||||
[ -z "${MAKE}" ] && MAKE=make
|
|
||||||
#[ -n "${MAKE_JOBS}" ] && MAKE="$MAKE -j${MAKE_JOBS}"
|
|
||||||
export CC INSTALL_BIN PREFIX PKGCFGDIR LIBDIRARCH LIBARCHS CFLAGS LDFLAGS
|
export CC INSTALL_BIN PREFIX PKGCFGDIR LIBDIRARCH LIBARCHS CFLAGS LDFLAGS
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|
Loading…
Reference in a new issue