#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

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