From b32dbdee1293f6bc8273521df269de0fcc964dc7 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Wed, 1 Sep 2010 22:08:53 +0000 Subject: [PATCH] use remote_device_db_iphone for darwin, too --- configure.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 20e353933..64f63255e 100644 --- a/configure.in +++ b/configure.in @@ -14,7 +14,7 @@ AC_ARG_ENABLE(springboard, [AS_HELP_STRING([--disable-springboard],[Disable disp AC_ARG_ENABLE(launchd, [AS_HELP_STRING([--enable-launchd],[Compiles BTdaemon for use by launchd])], USE_LAUNCHD=$enableval, USE_LAUNCHD="no") AC_ARG_WITH(iphone-ip, [AS_HELP_STRING([--with-iphone-ip=192.168.1.5], [Specify IP address used by iPhone for installation (not supported yet)])], IPHONE_IP=$withval, IPHONE_IP="") AC_ARG_WITH(vendor-id, [AS_HELP_STRING([--with-vendor-id=vendorID], [Specify USB BT Dongle vendorID])], USB_VENDOR_ID=$withval, USB_VENDOR_ID="") -AC_ARG_WITH(product-id, [AS_HELP_STRING([--with-product-id=productID], [Specify USB BT Dongle productID])], USB_PRODUCT_ID=$withval, USB_PRODUCT_ID="") +AC_ARG_WITH(product-id, [AS_HELP_STRING([--with-product-id=productID], [Specify USB BT Dongle productID])], USB_PRODUCT_ID=$withval, USB_PRODUCT_ID="") AC_ARG_ENABLE(ldid, [AS_HELP_STRING([--enable-ldid], [Code sign binaries with ldid])], USE_LDID=$enableval, USE_LDID_ID="no") AC_ARG_WITH(developer-path, [AS_HELP_STRING([--with-developer-path=path], [Specify toolchain path])], DEVELOPER_PATH=$withval, DEVELOPER_PATH="/Developer/Platforms/iPhoneOS.platform/Developer") @@ -68,10 +68,12 @@ RUN_LOOP_SOURCES="run_loop_posix.c run_loop_embedded.c" case "$host_os" in darwin*) RUN_LOOP_SOURCES="$RUN_LOOP_SOURCES run_loop_cocoa.m" - LDFLAGS="$LDFLAGS -framework CoreFoundation" + LDFLAGS="$LDFLAGS -framework CoreFoundation -framework Foundation" USE_COCOA_RUN_LOOP="yes" BTSTACK_LIB_LDFLAGS="-dynamiclib -install_name \$(prefix)/lib/libBTstack.dylib" BTSTACK_LIB_EXTENSION="dylib" + REMOTE_DEVICE_DB_SOURCES="remote_device_db_iphone.m" + REMOTE_DEVICE_DB="remote_device_db_iphone" ;; linux-*) RUN_LOOP_SOURCES="$RUN_LOOP_SOURCES run_loop_cocoa.m"