Summary: | rpmlint warnings after installation: unused-direct-shlib-dependency | ||
---|---|---|---|
Product: | [Applications] skrooge | Reporter: | Thomas Janssen <thomasj> |
Component: | general | Assignee: | Guillaume DE BURE <guillaume.debure> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, stephane |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Thomas Janssen
2009-10-08 21:24:02 UTC
Hi thomas, Could you try something like this to build skrooge and tell me if it's better ? cmake . -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" I am waiting your answer ? Hello Stephane, yes, that fixes it. You're really fast. As always. SVN commit 1033170 by smankowski: BUG: 209912: rpmlint warnings after installation: unused-direct-shlib-dependency M +1 -0 CHANGELOG M +2 -2 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1033170 This breaks linking on OS X: Linking CXX shared library ../lib/libskgbasemodeler.dylib ld: unknown option: --as-needed collect2: ld returned 1 exit status make[2]: *** [lib/libskgbasemodeler.0.5.3_beta.dylib] Error 1 make[1]: *** [skgbasemodeler/CMakeFiles/skgbasemodeler.dir/all] Error 2 make: *** [all] Error 2 Should I fill in a new bug report or reopen this one? Hmm.. It builds fine here in mock/koji (our buildsystem) for x86, x86_64, ppc and ppc64. SVN commit 1035750 by smankowski: BUG: 209912: Remove correction for MACOS. rpmlink correction must be done with: cmake . -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" M +1 -1 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1035750 |