Link with bsm library

Necessary because libxpc no longer exports one of the bsm wrapper functions (which is the proper behavior).
This commit is contained in:
Ariel Abreu 2021-01-07 00:21:14 -05:00
parent c5a3ba64c7
commit 5549ac4cd2
No known key found for this signature in database
GPG Key ID: BB20848279B910AC

View File

@ -48,7 +48,7 @@ set(iokitd_sources
)
add_darling_executable(iokitd ${iokitd_sources})
target_link_libraries(iokitd cxx CoreFoundation Foundation X11 XRandR Xext EGL GL IOSurface)
target_link_libraries(iokitd cxx bsm.0 CoreFoundation Foundation X11 XRandR Xext EGL GL IOSurface)
install(TARGETS iokitd DESTINATION libexec/darling/usr/sbin)
install(FILES org.darlinghq.iokitd.plist DESTINATION libexec/darling/System/Library/LaunchDaemons)