diff options
author | Daniel Black <grooverdan@users.sourceforge.net> | 2017-04-02 16:43:43 +1000 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2017-04-09 15:12:11 -0400 |
commit | 7dd6efeaab688d703e3569c4f54f30502e88dd2f (patch) | |
tree | 0e9ba1b260afd6c6051f5cef88d804813fbd0de7 /cmake | |
parent | 57a699b0a0f3300404948775356d31fb478e80c6 (diff) | |
download | mariadb-git-7dd6efeaab688d703e3569c4f54f30502e88dd2f.tar.gz |
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
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/libutils.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/libutils.cmake b/cmake/libutils.cmake index 5125b9482cd..2e65e8b5ba3 100644 --- a/cmake/libutils.cmake +++ b/cmake/libutils.cmake @@ -188,7 +188,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() |