1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-23 04:43:57 +01:00

Fix trexio.pc.in (missing -ltrexio and -lhdf5_hl)

This commit is contained in:
Anthony Scemama 2021-05-05 17:58:58 +02:00
parent 4cbc9c29f0
commit 8ff9b1d717
2 changed files with 3 additions and 1 deletions

View File

@ -90,6 +90,7 @@ elif test "x${hdf5}" = xyes; then
FCFLAGS="${HDF5_CFLAGS} ${FCFLAGS}"
LIBS="${HDF5_LIBS} -lhdf5_hl ${LIBS}"
PKG_HDF5="hdf5"
PKG_LIBS="${PKG_LIBS} -lhdf5_hl"
else
PKG_HDF5=""
PKG_LIBS="${PKG_LIBS} ${HDF5_LIBS} -lhdf5_hl"

View File

@ -8,7 +8,8 @@ Description: TREX Input/Output library
URL: https://github.com/trex-coe/trexio
Version: @PACKAGE_VERSION@
Cflags: -I${includedir} @PKG_CFLAGS@
Libs: -L${libdir} -lm @PKG_LIBS@
Libs: -L${libdir} -ltrexio -lm @PKG_LIBS@
Requires: @PKG_HDF5@
Requires.private: @PKG_HDF5@