mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
use remote_device_db_iphone for darwin, too
This commit is contained in:
parent
627c2f4552
commit
b32dbdee12
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user