#211 Redundant -L/usr/lib64 libs key in cppunit-config

open
nobody
5
2013-03-07
2013-03-07
Pavel
No

cppunit-config adds /usr/lib64 directory to my lnker keys, which is redundant and breaks one of my compilations.
------------8<--------------------
pavel@pbaranchikov:~/workspace/cppunit/cppunit> cppunit-config --libs
-L/usr/lib64 -lcppunit -ldl
------------8<--------------------
I attach diff to fix the problem.
The problem is reproduced in default cppunit-devel package installation on openSUSE 12.2 (x86_64)

Discussion

  • Pavel
    Pavel
    2013-03-07

    Patch to eliminate redundant -L/usr/lib64 parameter to a linker