mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-28 15:16:43 +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/plugins"
|
||||||
mkdir -p "$OUTPATH/locales"
|
mkdir -p "$OUTPATH/locales"
|
||||||
mkdir -p "$OUTPATH/themes"
|
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/plugins/*.dylib "$OUTPATH/plugins"
|
||||||
cp bin/locales/*.json "$OUTPATH/locales"
|
cp bin/locales/*.json "$OUTPATH/locales"
|
||||||
cp bin/themes/*.json "$OUTPATH/themes"
|
cp bin/themes/*.json "$OUTPATH/themes"
|
||||||
|
|
||||||
strip bin/musikcube
|
strip bin/musikcube
|
||||||
|
strip bin/musikcubed
|
||||||
|
strip bin/libmusikcore.dylib
|
||||||
strip bin/plugins/*.dylib
|
strip bin/plugins/*.dylib
|
||||||
|
|
||||||
pushd bin/dist
|
pushd bin/dist
|
||||||
|
@ -10,6 +10,8 @@ endif()
|
|||||||
configure_file("musikcubed.in" "musikcubed" @ONLY)
|
configure_file("musikcubed.in" "musikcubed" @ONLY)
|
||||||
add_executable(musikcubed ${DAEMON_SRCS})
|
add_executable(musikcubed ${DAEMON_SRCS})
|
||||||
|
|
||||||
|
set_target_properties(musikcubed PROPERTIES LINK_FLAGS "-Wl,-rpath,./")
|
||||||
|
|
||||||
if (${LINK_STATICALLY} MATCHES "true")
|
if (${LINK_STATICALLY} MATCHES "true")
|
||||||
find_library(EVLIB NAMES libev.a ev)
|
find_library(EVLIB NAMES libev.a ev)
|
||||||
target_link_libraries(musikcubed ${musikcube_LINK_LIBS} ${EVLIB} musikcore)
|
target_link_libraries(musikcubed ${musikcube_LINK_LIBS} ${EVLIB} musikcore)
|
||||||
|
Loading…
Reference in New Issue
Block a user