You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The purpose of pkg-config is to tell build system of the client of the library what flags to pass to compiler in order to use the library. However, libindi.pc's Libs simply says Libs: -L${libdir}, resulting in undefined symbols in linker stage, unless the client also explicitly provides -lindiclient or such.
To Reproduce
Exact steps to reproduce the behavior.
Run pkg-config --libs libindi
See empty output
Expected behavior
It should return the list of libraries to link to.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Describe the bug
The purpose of pkg-config is to tell build system of the client of the library what flags to pass to compiler in order to use the library. However, libindi.pc's Libs simply says
Libs: -L${libdir}
, resulting in undefined symbols in linker stage, unless the client also explicitly provides-lindiclient
or such.To Reproduce
Exact steps to reproduce the behavior.
pkg-config --libs libindi
Expected behavior
It should return the list of libraries to link to.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
In https://github.com/indilib/indi/blob/master/libindi.pc.cmake the libraries are supposed to come from
@PKG_CONFIG_LIBS@
, but cmake never sets this variableThe text was updated successfully, but these errors were encountered: