errorneous list of libraries generated by CMake

Issue #155 resolved
Jakub Sistek created an issue

One of the recent updates of the CMakeList.txt seems to introduce a potentially wrong string into the EXTRA_LIBS_EXPANDED variable, which propagates into the pkg-config file parsec.pc. This is what I am getting on my laptop:

pkg-config --libs parsec

-L/home/sistek/software/parsec_installed/lib -lparsec -lparsec-base /usr/lib/x86_64-linux-gnu/libdl.so /usr/lib/x86_64-linux-gnu/libhwloc.so /home/sistek/software/openmpi_installed/lib/libmpi.so -l-L/home/sistek/software/openmpi_installed/lib -l-L/usr/lib/gcc/x86_64-linux-gnu/7 -l-L/usr/lib/x86_64-linux-gnu -l-L/usr/lib -l-L/lib/x86_64-linux-gnu -l-L/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lquadmath -lm -lpthread -lc -lhwloc

The linker then complains about the -l-L* entries in this sequence.

Comments (4)

  1. Log in to comment