#195 ✓resolved
mischi

patch of CMakeLists.txt for easier compilation of libplist on Mac OS X

Reported by mischi | January 13th, 2011 @ 10:24 PM

When creating a fink (Mac OS X) package description about libplist, one problem was that the paths of the install_names of dylibs did not have a complete path, but were truncated. A fix for this would be this addition to src/CMakeLists.txt:

set(CMAKE_INSTALL_RPATH_USE_LINK_PATH  TRUE)
set(CMAKE_INSTALL_RPATH                ${LIB_DESTINATION} )

if(APPLE)
   set(CMAKE_INSTALL_NAME_DIR ${LIB_DESTINATION})
endif(APPLE)

and then calling cmake with the option -DLIB_DESTINATION=%p/lib

Applying this patch would be appreciated - MiSchi.

Comments and changes to this ticket

  • Martin S.

    Martin S. January 20th, 2011 @ 11:59 AM

    • State changed from “new” to “open”
    • Tag set to mac os x, cmake, libplist
    • Assigned user set to “Jonathan Beck”

    Thanks for the report, could you attach a patch using "git format-patch" on current libplist master?

  • Martin S.

    Martin S. February 12th, 2011 @ 05:54 PM

    • State changed from “open” to “resolved”
    • Tag changed from mac os x, cmake, libplist to mac os x, cmake, install_name_tool, libplist

    Ok, I pushed a similar fix to master. Please reopen if this is still an issue.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

People watching this ticket

Pages