/usr/local/lib64/pkgconfig/edelib-gui.pc contents:
prefix=/usr/local
exec_prefix=${prefix}
libdir=${libdir}
includedir=${prefix}/include
Name: edelib-gui
Description: EDE GUI library
Version: 2.2.0
Requires: edelib
Libs: -L${libdir} -ledelib_gui -L/usr/lib64/fltk -Wl,-rpath,/usr/lib64/fltk -L/usr/lib64/fltk -lfltk_images -lpng -lz -ljpeg -lfltk -lXrender -lXcursor -lXfixes -lXext -lXft -lfontconfig -lXinerama -lpthread -lm -lX11 -lXpm
Cflags: -I${includedir} -I/usr/include/fltk -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
Those ${} are expanding to empty strings somehow and this causes this kind of broken output that break compilations:
sergio@ayasel ~/ede/edelib $ PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig/ pkg-config --libs-only-L edelib-gui
-L -L/usr/lib64/fltk
/usr/local/lib64/pkgconfig/edelib-gui.pccontents:Those ${} are expanding to empty strings somehow and this causes this kind of broken output that break compilations: