From 6560583654bb67dc5fcf196db08c616b45da8ee4 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Mon, 23 Nov 2009 19:56:28 +0000 Subject: [PATCH] use run_loop_cocoa.m only on Darwin systems or when compiling for iPhone --- configure.in | 2 +- src/Makefile.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index e54814bde..ec7e4eb78 100644 --- a/configure.in +++ b/configure.in @@ -69,7 +69,7 @@ case "$host_os" in USE_COCOA_RUN_LOOP="yes" ;; *) - USE_COCOA_RUN_LOOP="no" + USE_COCOA_RUN_LOOP="no" ;; esac diff --git a/src/Makefile.in b/src/Makefile.in index 8a07b4faa..39980ce21 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -5,8 +5,9 @@ prefix = @prefix@ springboard_access_sources = @SPRINGBOARD_ACCESS_SOURCES@ usb_sources = @USB_SOURCES@ +run_loop_sources = @RUN_LOOP_SOURCES@ -libBTstack_SOURCES = btstack.c hci_cmds.c linked_list.c run_loop.c run_loop_posix.c run_loop_cocoa.m socket_connection.c utils.c +libBTstack_SOURCES = btstack.c hci_cmds.c linked_list.c run_loop.c $(run_loop_sources) socket_connection.c utils.c BTdaemon_SOURCES = $(libBTstack_SOURCES) \ bt_control_iphone.c \