Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#195

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.

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

State: resolved
Milestone: none
Assigned to: Jonathan Beck Jonathan Beck

Activity

  1. Martin S.
    Martin S.
    • 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?

    January 20th, 2011 @ 11:59 AM

  2. Martin S.
    Martin S.
    • 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.

    February 12th, 2011 @ 05:54 PM

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.