mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 22:34:18 +08:00
Set emus as dynamically linked
This commit is contained in:
parent
f9d74ffc1e
commit
63f23348af
@ -152,7 +152,7 @@ diff -ruwN git-2.13.1/git-compat-util.h source/git-compat-util.h
|
||||
+
|
||||
+#ifndef DEV_NULL
|
||||
+#if defined(__redox__)
|
||||
+#define DEV_NULL "null:"
|
||||
+#define DEV_NULL "/scheme/null"
|
||||
+#else
|
||||
+#define DEV_NULL "/dev/null"
|
||||
+#endif
|
||||
|
||||
@ -14,13 +14,14 @@ dependencies = [
|
||||
]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
export CFLAGS="-I${COOKBOOK_SYSROOT}/include/SDL"
|
||||
export CPPFLAGS="-I${COOKBOOK_SYSROOT}/include/SDL"
|
||||
export LDFLAGS="-L${COOKBOOK_SYSROOT}/lib -static"
|
||||
export LDFLAGS+=" -lorbital"
|
||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
--disable-opengl
|
||||
--disable-sdltest
|
||||
--with-sdl-prefix="${COOKBOOK_SYSROOT}"
|
||||
--with-sdl
|
||||
)
|
||||
cookbook_configure
|
||||
|
||||
|
||||
@ -16,12 +16,12 @@ dependencies = [
|
||||
"libpng",
|
||||
]
|
||||
script = """
|
||||
export LDFLAGS="-static"
|
||||
DYNAMIC_INIT
|
||||
|
||||
COOKBOOK_CONFIGURE="${COOKBOOK_SOURCE}/configure"
|
||||
export LDFLAGS+=" -lorbital"
|
||||
COOKBOOK_CONFIGURE_FLAGS=(
|
||||
--host="${TARGET}"
|
||||
--prefix=""
|
||||
--prefix="/usr"
|
||||
--with-sdl-prefix="${COOKBOOK_SYSROOT}"
|
||||
--with-freetype2-prefix="${COOKBOOK_SYSROOT}"
|
||||
--with-png-prefix="${COOKBOOK_SYSROOT}"
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/orbital.git"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user