mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-27 21:14:08 +00:00
Fixed the macOS packaging process.
This commit is contained in:
parent
ed037e8639
commit
bc565f31b3
@ -21,12 +21,16 @@ rm -rf "$OUTPATH"
|
||||
mkdir -p "$OUTPATH/plugins"
|
||||
mkdir -p "$OUTPATH/locales"
|
||||
mkdir -p "$OUTPATH/themes"
|
||||
cp bin/musikcube "$OUTPATH"
|
||||
cp bin/musikcube "$OUTPATH"
|
||||
cp bin/musikcubed "$OUTPATH"
|
||||
cp bin/libmusikcore.dylib "$OUTPATH"
|
||||
cp bin/plugins/*.dylib "$OUTPATH/plugins"
|
||||
cp bin/locales/*.json "$OUTPATH/locales"
|
||||
cp bin/themes/*.json "$OUTPATH/themes"
|
||||
|
||||
strip bin/musikcube
|
||||
strip bin/musikcubed
|
||||
strip bin/libmusikcore.dylib
|
||||
strip bin/plugins/*.dylib
|
||||
|
||||
pushd bin/dist
|
||||
|
@ -10,6 +10,8 @@ endif()
|
||||
configure_file("musikcubed.in" "musikcubed" @ONLY)
|
||||
add_executable(musikcubed ${DAEMON_SRCS})
|
||||
|
||||
set_target_properties(musikcubed PROPERTIES LINK_FLAGS "-Wl,-rpath,./")
|
||||
|
||||
if (${LINK_STATICALLY} MATCHES "true")
|
||||
find_library(EVLIB NAMES libev.a ev)
|
||||
target_link_libraries(musikcubed ${musikcube_LINK_LIBS} ${EVLIB} musikcore)
|
||||
|
Loading…
Reference in New Issue
Block a user