Revert to build llcommon on Darwin

This commit is contained in:
narv
2011-05-12 07:41:49 -07:00
parent 636ef25eef
commit 981e4f39b2
2 changed files with 11 additions and 0 deletions

View File

@@ -216,3 +216,12 @@ target_link_libraries(
${WINDOWS_LIBRARIES}
)
if (DARWIN)
# Don't embed a full path in the library's install name
set_target_properties(
llcommon
PROPERTIES
BUILD_WITH_INSTALL_RPATH 1
INSTALL_NAME_DIR "@executable_path/../Resources"
)
endif (DARWIN)

View File

@@ -495,6 +495,8 @@ class DarwinManifest(ViewerManifest):
self.path("vivox-runtime/universal-darwin/libortp.dylib", "libortp.dylib")
self.path("vivox-runtime/universal-darwin/libvivoxsdk.dylib", "libvivoxsdk.dylib")
self.path("vivox-runtime/universal-darwin/SLVoice", "SLVoice")
self.path("../llcommon/" + self.args['configuration'] + "/libllcommon.dylib", "libllcommon.dylib")
libfile = "lib%s.dylib"
libdir = "../../libraries/universal-darwin/lib_release"