Redundant -L/usr/lib64 libs key in cppunit-config
Brought to you by:
blep
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)
Patch to eliminate redundant -L/usr/lib64 parameter to a linker