File tree Expand file tree Collapse file tree 4 files changed +2
-8
lines changed Expand file tree Collapse file tree 4 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ AC_ARG_ENABLE([android],
103
103
# FIXME: there should be a more elegant way to do this
104
104
ac_configure_args=`echo $ac_configure_args | sed -e "s/ 'CFLAGS='//" -e "s/ 'CXXFLAGS='//"`
105
105
# CFLAGS, CXXFLAGS and LIBS needs to be passed to libkqueue and libpwq
106
- ac_configure_args="$ac_configure_args 'CFLAGS=$CFLAGS' 'CXXFLAGS=$CXXFLAGS' 'LIBS=$LIBS'"
106
+ ac_configure_args="$ac_configure_args --enable-bionic-libc 'CFLAGS=$CFLAGS' 'CXXFLAGS=$CXXFLAGS' 'LIBS=$LIBS'"
107
107
] , [ android=false] )
108
108
AM_CONDITIONAL(ANDROID, $android)
109
109
Original file line number Diff line number Diff line change @@ -66,10 +66,6 @@ if DISPATCH_ENABLE_ASSERTS
66
66
DISPATCH_CFLAGS+=-DDISPATCH_DEBUG =1
67
67
endif
68
68
69
- if ANDROID
70
- ANDROID_LIBS = -L$(top_srcdir ) /src/shims/android
71
- endif
72
-
73
69
AM_CFLAGS = $(KQUEUE_CFLAGS ) $(PTHREAD_WORKQUEUE_CFLAGS ) $(DISPATCH_CFLAGS ) $(CBLOCKS_FLAGS )
74
70
AM_OBJCFLAGS =$(DISPATCH_CFLAGS ) $(CBLOCKS_FLAGS ) $(CANDROID_FLAGS )
75
71
AM_CXXFLAGS =$(KQUEUE_CFLAGS ) $(PTHREAD_WORKQUEUE_CFLAGS ) $(DISPATCH_CFLAGS ) $(CXXBLOCKS_FLAGS )
@@ -97,7 +93,7 @@ BLOCKS_RUNTIME_LIBS=-ldl
97
93
endif
98
94
99
95
libdispatch_la_LDFLAGS =-avoid-version
100
- libdispatch_la_LIBADD =$(KQUEUE_LIBS ) $(PTHREAD_WORKQUEUE_LIBS ) $(BSD_OVERLAY_LIBS ) $(BLOCKS_RUNTIME_LIBS ) $( ANDROID_LIBS )
96
+ libdispatch_la_LIBADD =$(KQUEUE_LIBS ) $(PTHREAD_WORKQUEUE_LIBS ) $(BSD_OVERLAY_LIBS ) $(BLOCKS_RUNTIME_LIBS )
101
97
102
98
if HAVE_DARWIN_LD
103
99
libdispatch_la_LDFLAGS+ =-Wl,-compatibility_version,1 \
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments