Skip to content

Commit 7dd6efe

Browse files
grooverdansvoj
authored andcommitted
Don't use full path of libtool
This is to be friendly to our OSX users where the libtool path is very different. Ref: * https://github.com/Homebrew/homebrew-core/blob/master/Formula/mariadb.rb#L44..L46
1 parent 57a699b commit 7dd6efe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/libutils.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ MACRO(MERGE_STATIC_LIBS TARGET OUTPUT_NAME LIBS_TO_MERGE)
188188
# binaries properly)
189189
ADD_CUSTOM_COMMAND(TARGET ${TARGET} POST_BUILD
190190
COMMAND rm ${TARGET_LOCATION}
191-
COMMAND /usr/bin/libtool -static -o ${TARGET_LOCATION}
191+
COMMAND libtool -static -o ${TARGET_LOCATION}
192192
${STATIC_LIBS}
193193
)
194194
ELSE()

0 commit comments

Comments
 (0)