I’m using cling headers and libraries on Arch, via AUR package. However, specifying cling directories isn’t elegant, I have to hardcode paths and libraries. I suggest adding a .pc file to the package, either directly to the cling-git AUR repository, or to the cling git repo. For example, this is currently working for me:
cling.pc
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: cling
Description: Interactive C++ interpreter
Version: 0.4~dev
Libs: -L${libdir} -lcling -lclingInterpreter -lclingMetaProcessor -lclingUserInterface -lclingUtils
Cflags: -I${includedir} -I${includedir}/cling/UserInterface -fno-rtti
Could you help me with this? Is this forum the right place for this request, or shall I ask the Arch package maintainer directly?
Thanks,
dobragab