From 7821a5bde5e024744fa43b73435796202fbd399f Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Mon, 23 Jan 2012 21:42:31 +0000 Subject: [PATCH] no use for UIKit in daemon or libBTstack --- configure.in | 2 +- src/bt_control_iphone.m | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 052cdd65c..b343bfbf5 100644 --- a/configure.in +++ b/configure.in @@ -120,7 +120,7 @@ if test "x$target" = xiphone; then OBJC="$DEVELOPER_PATH/usr/bin/arm-apple-darwin$darwin_v$compiler_prefix-g++-$GCC_VERSION" CFLAGS="$CFLAGS -g" CPPFLAGS="$CPPFLAGS -isysroot $SDK_PATH" - LDFLAGS="$LDFLAGS -framework Foundation -framework CoreFoundation -framework UIKit -lobjc" + LDFLAGS="$LDFLAGS -framework Foundation -framework CoreFoundation -lobjc" LDFLAGS="$LDFLAGS -L$SDK_PATH/System/Library/Frameworks/IOKit.framework/Versions/A -lIOKit" LDFLAGS="$LDFLAGS $SDK_PATH/System/Library/PrivateFrameworks/BluetoothManager.framework/BluetoothManager" ;; diff --git a/src/bt_control_iphone.m b/src/bt_control_iphone.m index ec80707f8..bd74dbde0 100644 --- a/src/bt_control_iphone.m +++ b/src/bt_control_iphone.m @@ -73,7 +73,6 @@ #include #define IOKIT #include -#include // costants #define sys_iokit err_system(0x38)