mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-30 07:40:41 +00:00
Don't hardcode /usr/local
This commit is contained in:
parent
0845f49bca
commit
43398147a8
@ -61,26 +61,26 @@ if (NOT DARLING_NO_EXECUTABLES)
|
||||
|
||||
install(DIRECTORY DESTINATION libexec/darling/Volumes)
|
||||
install(DIRECTORY DESTINATION libexec/darling/Volumes/SystemRoot)
|
||||
InstallSymlink(/ /usr/local/libexec/darling/Volumes/DarlingEmulatedDrive)
|
||||
InstallSymlink(/ ${CMAKE_INSTALL_PREFIX}/libexec/darling/Volumes/DarlingEmulatedDrive)
|
||||
|
||||
install(DIRECTORY DESTINATION libexec/darling/proc)
|
||||
|
||||
install(DIRECTORY DESTINATION libexec/darling/var)
|
||||
install(DIRECTORY DESTINATION libexec/darling/var/root)
|
||||
install(DIRECTORY DESTINATION libexec/darling/var/run)
|
||||
InstallSymlink(/dev/log /usr/local/libexec/darling/var/run/syslog)
|
||||
InstallSymlink(/dev/log ${CMAKE_INSTALL_PREFIX}/libexec/darling/var/run/syslog)
|
||||
|
||||
install(DIRECTORY DESTINATION libexec/darling/usr)
|
||||
install(DIRECTORY DESTINATION libexec/darling/usr/local)
|
||||
install(DIRECTORY DESTINATION libexec/darling/usr/local/share)
|
||||
InstallSymlink(/Volumes/SystemRoot/usr/local/share/darling /usr/local/libexec/darling/usr/local/share/darling)
|
||||
InstallSymlink(/Volumes/SystemRoot${CMAKE_INSTALL_PREFIX}/share/darling ${CMAKE_INSTALL_PREFIX}/libexec/darling/usr/local/share/darling)
|
||||
|
||||
InstallSymlink(/Volumes/SystemRoot/dev /usr/local/libexec/darling/dev)
|
||||
InstallSymlink(/Volumes/SystemRoot/tmp /usr/local/libexec/darling/tmp)
|
||||
InstallSymlink(/Volumes/SystemRoot/home /usr/local/libexec/darling/Users)
|
||||
InstallSymlink(/Volumes/SystemRoot/dev ${CMAKE_INSTALL_PREFIX}/libexec/darling/dev)
|
||||
InstallSymlink(/Volumes/SystemRoot/tmp ${CMAKE_INSTALL_PREFIX}/libexec/darling/tmp)
|
||||
InstallSymlink(/Volumes/SystemRoot/home ${CMAKE_INSTALL_PREFIX}/libexec/darling/Users)
|
||||
|
||||
install(DIRECTORY DESTINATION libexec/darling/etc/ld.so.conf.d)
|
||||
install(CODE "execute_process(COMMAND bash ${DARLING_TOP_DIRECTORY}/src/setup-ld-so.sh WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/libexec/darling)")
|
||||
InstallSymlink(/Volumes/SystemRoot/lib /usr/local/libexec/darling/lib)
|
||||
InstallSymlink(/Volumes/SystemRoot/lib64 /usr/local/libexec/darling/lib64)
|
||||
InstallSymlink(/Volumes/SystemRoot/lib ${CMAKE_INSTALL_PREFIX}/libexec/darling/lib)
|
||||
InstallSymlink(/Volumes/SystemRoot/lib64 ${CMAKE_INSTALL_PREFIX}/libexec/darling/lib64)
|
||||
endif (NOT DARLING_NO_EXECUTABLES)
|
||||
|
Loading…
Reference in New Issue
Block a user