Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX build installs with bad dylib name. #11

Closed
endgame opened this issue Mar 27, 2010 · 1 comment
Closed

OSX build installs with bad dylib name. #11

endgame opened this issue Mar 27, 2010 · 1 comment

Comments

@endgame
Copy link

endgame commented Mar 27, 2010

I found this problem installing yajl 1.0.6 from macports (and can reproduce with 1.0.9):
http://trac.macports.org/ticket/24238

It appears that the .dylib doesn't have the correct INSTALL_NAME_DIR set. I found that the following addition to src/CMakeLists.txt fixed it for me:

IF(APPLE)
  SET_TARGET_PROPERTIES(yajl PROPERTIES
                        INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib)
ENDIF(APPLE)
@lloyd
Copy link
Owner

lloyd commented Aug 10, 2010

fix paths embedded in dylib upon installation on osx. closed by a31c4d0

more

rtyler pushed a commit to rtyler/yajl that referenced this issue Apr 25, 2011
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants