From ad321c8e4b0dd4483ad75832e9b924eb380a1f79 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 24 Jul 2012 13:54:04 +0100 Subject: [PATCH] Don't use full path to libtool on OS X. With Xcode 4 libtool is installed inside /Applications/Xcode.app rather than /usr/bin so it should not be referenced directly. --- cmake/libutils.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/libutils.cmake b/cmake/libutils.cmake index 89a9de9..677c68d 100644 --- a/cmake/libutils.cmake +++ b/cmake/libutils.cmake @@ -183,7 +183,7 @@ MACRO(MERGE_STATIC_LIBS TARGET OUTPUT_NAME LIBS_TO_MERGE) # binaries properly) ADD_CUSTOM_COMMAND(TARGET ${TARGET} POST_BUILD COMMAND rm ${TARGET_LOCATION} - COMMAND /usr/bin/libtool -static -o ${TARGET_LOCATION} + COMMAND libtool -static -o ${TARGET_LOCATION} ${STATIC_LIBS} ) ELSE() -- 1.7.11.3