Skip to contentSkip to conversation

Make configure find uuid functions in Mac OS X by looking into libSystem.B

Qemu-devel C.W. Betts 1 participant 1 message Jul 4, 2010

lore
Share & tools
lore

C.W. Betts

author
#0 lore raw

Make configure find uuid functions in Mac OS X by looking into libSystem.B

Mac OS X consolidates many smaller libraries into libSystem.B.dylib. libuuid is one of these. This patch makes it so that configure doesn't look for a non-existant libuuid.dylib, but look in libSystem for the uuid functions. Signed off by C.W. Betts <[email protected]>
---
configure | 6 +++++-

1 files changed, 5 insertions(+), 1 deletions(-)
configure +0 -0
index 966cd7d..ecc3317 100755
@@ -1198,7 +1198,11 @@ fi

##########################################
# uuid_generate() probe, used for vdi block driver if test "$uuid" != "no" ; then
- uuid_libs="-luuid"
+ if test "$darwin" == "yes"; then
+ uuid_libs=""
+ else
+ uuid_libs="-luuid"
+ fi
cat > $TMPC << EOF
#include <uuid/uuid.h>
int main(void)

Signature · 1 line
1.6.5.5