diff options
author | Sean McBride <sean@rogue-research.com> | 2011-09-06 10:31:00 +0000 |
---|---|---|
committer | Vitali Lovich <vlovich@aliph.com> | 2011-09-06 10:31:26 +0100 |
commit | 2934cf3604b2e173bc9cb93b873065e776441e1b (patch) | |
tree | d02ccd5baf999b6586f161975245f2733a81a816 /configure.ac | |
parent | 71b380b0b0046c9442ee3bdfd6e9cc6b1f8ba3aa (diff) | |
download | libusb-2934cf3604b2e173bc9cb93b873065e776441e1b.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 1aa606b..74e15a0 100644 --- a/configure.ac +++ b/configure.ac @@ -60,6 +60,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]) |