libjson-c's upstream still has build issues, switch back to our fork.
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							@@ -24,4 +24,4 @@
 | 
			
		||||
	url = https://github.com/jedisct1/libsodium.git
 | 
			
		||||
[submodule "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
									
									
								
							 Submodule platform-darwin/External/libjson-c updated: 95dff31951...3e5ad38a83
									
								
							@@ -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 LDFLAGS="-arch i386 -isysroot $SDKROOT -mios-simulator-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
 | 
			
		||||
    export CPPFLAGS="$CFLAGS $CPPFLAGS"
 | 
			
		||||
    [[ -e Makefile ]] && make -s really-clean
 | 
			
		||||
    [[ -e Makefile ]] && make -s clean
 | 
			
		||||
    ./configure --host=i686-apple --disable-shared --prefix="$prefix_i386"
 | 
			
		||||
    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 LDFLAGS="-arch x86_64 -isysroot $SDKROOT -mios-simulator-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
 | 
			
		||||
    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"
 | 
			
		||||
    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 LDFLAGS="-mthumb -arch armv7 -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
 | 
			
		||||
    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"
 | 
			
		||||
    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 LDFLAGS="-mthumb -arch armv7s -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
 | 
			
		||||
    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"
 | 
			
		||||
    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 LDFLAGS="-mthumb -arch arm64 -isysroot $SDKROOT -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET:-8.0} $LDFLAGS"
 | 
			
		||||
    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"
 | 
			
		||||
    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 LDFLAGS="-arch x86_64 -isysroot $SDKROOT -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET:-10.8} $LDFLAGS" # -flto
 | 
			
		||||
    export CPPFLAGS="$CFLAGS $CPPFLAGS"
 | 
			
		||||
    [[ -e Makefile ]] && make -s really-clean
 | 
			
		||||
    [[ -e Makefile ]] && make -s clean
 | 
			
		||||
    ./configure --disable-shared --prefix="$prefix"
 | 
			
		||||
    make -j3 check
 | 
			
		||||
    make -j3 install
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user