libjson-c's upstream still has build issues, switch back to our fork.
This commit is contained in:
parent
6904d4c427
commit
63100913c5
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -24,4 +24,4 @@
|
|||||||
url = https://github.com/jedisct1/libsodium.git
|
url = https://github.com/jedisct1/libsodium.git
|
||||||
[submodule "platform-darwin/External/libjson-c"]
|
[submodule "platform-darwin/External/libjson-c"]
|
||||||
path = platform-darwin/External/libjson-c
|
path = platform-darwin/External/libjson-c
|
||||||
url = https://github.com/json-c/json-c.git
|
url = https://github.com/lhunath/json-c.git
|
||||||
|
2
platform-darwin/External/libjson-c
vendored
2
platform-darwin/External/libjson-c
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 95dff31951c9388408d29e7ddf9a9edc4ec96dca
|
Subproject commit 3e5ad38a83a05b641cd84414a67a64992bf0e8c6
|
@ -22,7 +22,7 @@ mkdir -p "$prefix/lib" \
|
|||||||
export CFLAGS="-arch i386 -isysroot $SDKROOT -mios-simulator-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} -O2 -g $CFLAGS"
|
export CFLAGS="-arch i386 -isysroot $SDKROOT -mios-simulator-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} -O2 -g $CFLAGS"
|
||||||
export LDFLAGS="-arch i386 -isysroot $SDKROOT -mios-simulator-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
|
export LDFLAGS="-arch i386 -isysroot $SDKROOT -mios-simulator-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
|
||||||
export CPPFLAGS="$CFLAGS $CPPFLAGS"
|
export CPPFLAGS="$CFLAGS $CPPFLAGS"
|
||||||
[[ -e Makefile ]] && make -s really-clean
|
[[ -e Makefile ]] && make -s clean
|
||||||
./configure --host=i686-apple --disable-shared --prefix="$prefix_i386"
|
./configure --host=i686-apple --disable-shared --prefix="$prefix_i386"
|
||||||
make -j3 install
|
make -j3 install
|
||||||
)
|
)
|
||||||
@ -33,7 +33,7 @@ mkdir -p "$prefix/lib" \
|
|||||||
export CFLAGS="-arch x86_64 -isysroot $SDKROOT -mios-simulator-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} -O2 -g $CFLAGS"
|
export CFLAGS="-arch x86_64 -isysroot $SDKROOT -mios-simulator-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} -O2 -g $CFLAGS"
|
||||||
export LDFLAGS="-arch x86_64 -isysroot $SDKROOT -mios-simulator-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
|
export LDFLAGS="-arch x86_64 -isysroot $SDKROOT -mios-simulator-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
|
||||||
export CPPFLAGS="$CFLAGS $CPPFLAGS"
|
export CPPFLAGS="$CFLAGS $CPPFLAGS"
|
||||||
[[ -e Makefile ]] && make -s really-clean
|
[[ -e Makefile ]] && make -s clean
|
||||||
./configure --host=x86_64-apple --disable-shared --prefix="$prefix_x86_64"
|
./configure --host=x86_64-apple --disable-shared --prefix="$prefix_x86_64"
|
||||||
make -j3 install
|
make -j3 install
|
||||||
)
|
)
|
||||||
@ -44,7 +44,7 @@ mkdir -p "$prefix/lib" \
|
|||||||
export CFLAGS="-mthumb -arch armv7 -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} -O2 -g $CFLAGS"
|
export CFLAGS="-mthumb -arch armv7 -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} -O2 -g $CFLAGS"
|
||||||
export LDFLAGS="-mthumb -arch armv7 -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
|
export LDFLAGS="-mthumb -arch armv7 -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
|
||||||
export CPPFLAGS="$CFLAGS $CPPFLAGS"
|
export CPPFLAGS="$CFLAGS $CPPFLAGS"
|
||||||
[[ -e Makefile ]] && make -s really-clean
|
[[ -e Makefile ]] && make -s clean
|
||||||
./configure --host=x86_64-apple --target=arm-apple --disable-shared --prefix="$prefix_armv7"
|
./configure --host=x86_64-apple --target=arm-apple --disable-shared --prefix="$prefix_armv7"
|
||||||
make -j3 install
|
make -j3 install
|
||||||
)
|
)
|
||||||
@ -55,7 +55,7 @@ mkdir -p "$prefix/lib" \
|
|||||||
export CFLAGS="-mthumb -arch armv7s -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} -O2 -g $CFLAGS"
|
export CFLAGS="-mthumb -arch armv7s -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} -O2 -g $CFLAGS"
|
||||||
export LDFLAGS="-mthumb -arch armv7s -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
|
export LDFLAGS="-mthumb -arch armv7s -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
|
||||||
export CPPFLAGS="$CFLAGS $CPPFLAGS"
|
export CPPFLAGS="$CFLAGS $CPPFLAGS"
|
||||||
[[ -e Makefile ]] && make -s really-clean
|
[[ -e Makefile ]] && make -s clean
|
||||||
./configure --host=x86_64-apple --target=arm-apple --disable-shared --prefix="$prefix_armv7s"
|
./configure --host=x86_64-apple --target=arm-apple --disable-shared --prefix="$prefix_armv7s"
|
||||||
make -j3 install
|
make -j3 install
|
||||||
)
|
)
|
||||||
@ -66,7 +66,7 @@ mkdir -p "$prefix/lib" \
|
|||||||
export CFLAGS="-mthumb -arch arm64 -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} -O2 -g $CFLAGS"
|
export CFLAGS="-mthumb -arch arm64 -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} -O2 -g $CFLAGS"
|
||||||
export LDFLAGS="-mthumb -arch arm64 -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
|
export LDFLAGS="-mthumb -arch arm64 -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
|
||||||
export CPPFLAGS="$CFLAGS $CPPFLAGS"
|
export CPPFLAGS="$CFLAGS $CPPFLAGS"
|
||||||
[[ -e Makefile ]] && make -s really-clean
|
[[ -e Makefile ]] && make -s clean
|
||||||
./configure --host=x86_64-apple --target=arm-apple --disable-shared --prefix="$prefix_arm64"
|
./configure --host=x86_64-apple --target=arm-apple --disable-shared --prefix="$prefix_arm64"
|
||||||
make -j3 install
|
make -j3 install
|
||||||
)
|
)
|
||||||
|
@ -17,7 +17,7 @@ mkdir -p "$prefix"
|
|||||||
export CFLAGS="-arch x86_64 -isysroot $SDKROOT -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET:-10.8} -O2 -g $CFLAGS" # -flto
|
export CFLAGS="-arch x86_64 -isysroot $SDKROOT -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET:-10.8} -O2 -g $CFLAGS" # -flto
|
||||||
export LDFLAGS="-arch x86_64 -isysroot $SDKROOT -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET:-10.8} $LDFLAGS" # -flto
|
export LDFLAGS="-arch x86_64 -isysroot $SDKROOT -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET:-10.8} $LDFLAGS" # -flto
|
||||||
export CPPFLAGS="$CFLAGS $CPPFLAGS"
|
export CPPFLAGS="$CFLAGS $CPPFLAGS"
|
||||||
[[ -e Makefile ]] && make -s really-clean
|
[[ -e Makefile ]] && make -s clean
|
||||||
./configure --disable-shared --prefix="$prefix"
|
./configure --disable-shared --prefix="$prefix"
|
||||||
make -j3 check
|
make -j3 check
|
||||||
make -j3 install
|
make -j3 install
|
||||||
|
Loading…
Reference in New Issue
Block a user