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
This commit is contained in:
parent
57a699b0a0
commit
7dd6efeaab
@ -188,7 +188,7 @@ MACRO(MERGE_STATIC_LIBS TARGET OUTPUT_NAME LIBS_TO_MERGE)
|
|||||||
# binaries properly)
|
# binaries properly)
|
||||||
ADD_CUSTOM_COMMAND(TARGET ${TARGET} POST_BUILD
|
ADD_CUSTOM_COMMAND(TARGET ${TARGET} POST_BUILD
|
||||||
COMMAND rm ${TARGET_LOCATION}
|
COMMAND rm ${TARGET_LOCATION}
|
||||||
COMMAND /usr/bin/libtool -static -o ${TARGET_LOCATION}
|
COMMAND libtool -static -o ${TARGET_LOCATION}
|
||||||
${STATIC_LIBS}
|
${STATIC_LIBS}
|
||||||
)
|
)
|
||||||
ELSE()
|
ELSE()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user