diff options
author | Sean McBride <sean@rogue-research.com> | 2011-02-10 17:11:29 -0500 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2011-06-13 22:06:32 +0200 |
commit | 40327cd134718475f6cec8935b856d4fdff2099c (patch) | |
tree | dcbf7f550a3e230f700950fe66391a60020ccec2 /configure.ac | |
parent | 3ba2fae24886fec89410e5f2295f65363edcc2df (diff) | |
download | libusb-40327cd134718475f6cec8935b856d4fdff2099c.tar.gz |
Darwin: Fix #63 error when apps use Objective-C garbage collection
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
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]) |