Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[ios] fixed, ios depends build on xcode4/10.7

  • Loading branch information...
commit 9a27da9902a082fdd6315533889dd236d3e97fdf 1 parent 8b5ef79
@davilla davilla authored
View
1  tools/darwin/depends/config.site_ios.mk.in
@@ -18,6 +18,7 @@ host_alias=arm-apple-darwin10
cross_compiling=yes
platform_path=@use_xcodepath@/Platforms/iPhoneOS.platform/Developer
+platform_xcode_path=@use_xcodepath@
platform_os_cflags=-arch @use_arch@ -mcpu=cortex-a8 -mfpu=neon -ftree-vectorize -mfloat-abi=softfp -pipe -Wno-trigraphs -fpascal-strings -O3 -Wreturn-type -Wunused-variable -fmessage-length=0 -gdwarf-2
platform_os_ldflags=-arch @use_arch@ -mcpu=cortex-a8
platform_sdk_path=@use_sdk_path@
View
3  tools/darwin/depends/samba/Makefile
@@ -1,4 +1,5 @@
include ../Makefile.include
+include ../config.site.mk
# lib name, version
LIBNAME=samba
@@ -26,7 +27,7 @@ $(LIBDYLIB): $(TARBALLS_LOCATION)/$(ARCHIVE)
cd $(SOURCE)/source3; ./autogen.sh
cd $(SOURCE)/source3; $(CONFIGURE)
if test "$(DARWIN)" = "ios"; then \
- cp -f /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator$(SDK).sdk/usr/include/crt_externs.h $(PREFIX)/include/; \
+ cp -f $(platform_xcode_path)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator$(SDK).sdk/usr/include/crt_externs.h $(PREFIX)/include/; \
fi
cd $(SOURCE)/source3; make -j 1 bin/libsmbclient.dylib
Please sign in to comment.
Something went wrong with that request. Please try again.