summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2011-02-10 17:11:29 -0500
committerPeter Stuge <peter@stuge.se>2011-06-13 22:06:32 +0200
commit40327cd134718475f6cec8935b856d4fdff2099c (patch)
treedcbf7f550a3e230f700950fe66391a60020ccec2 /configure.ac
parent3ba2fae24886fec89410e5f2295f65363edcc2df (diff)
downloadlibusb-40327cd134718475f6cec8935b856d4fdff2099c.tar.gz
Darwin: Fix #63 error when apps use Objective-C garbage collection
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bf2875e..e21e4dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,6 +59,7 @@ case $host in
AC_MSG_RESULT([Darwin/Mac OS X])
backend="darwin"
threads="posix"
+ LIBS="${LIBS} -lobjc"
PC_LIBS_PRIVATE="-Wl,-framework,IOKit -Wl,-framework,CoreFoundation"
LTLDFLAGS="${LTLDFLAGS} -Wl,-prebind"
AC_CHECK_HEADERS([poll.h])