Loading Makefile.def.in +1 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,4 @@ FCFLAGS = -g #external libraries (set to empty to disable) GRDIR = /usr/local/gr HDF5DIR = /usr/local/Cellar/hdf5/1.14.3_1/lib # location of pkg-config files sources/Makefile +3 −3 Original line number Diff line number Diff line Loading @@ -25,9 +25,9 @@ LDLIBS += -lGR endif ifneq ($(HDF5DIR),) export PKG_CONFIG_PATH := $(HDF5DIR)/lib/pkgconfig:$(PKG_CONFIG_PATH) FCFLAGS += $(shell pkg-config --cflags hdf5_fortran) LDLIBS += $(shell pkg-config --libs hdf5_fortran) export PKG_CONFIG_PATH := $(HDF5DIR)/pkgconfig:$(PKG_CONFIG_PATH) FCFLAGS += $(shell pkg-config --cflags hdf5) LDLIBS += $(shell pkg-config --libs-only-L hdf5) -lhdf5_fortran -lhdf5 endif Loading Loading
Makefile.def.in +1 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,4 @@ FCFLAGS = -g #external libraries (set to empty to disable) GRDIR = /usr/local/gr HDF5DIR = /usr/local/Cellar/hdf5/1.14.3_1/lib # location of pkg-config files
sources/Makefile +3 −3 Original line number Diff line number Diff line Loading @@ -25,9 +25,9 @@ LDLIBS += -lGR endif ifneq ($(HDF5DIR),) export PKG_CONFIG_PATH := $(HDF5DIR)/lib/pkgconfig:$(PKG_CONFIG_PATH) FCFLAGS += $(shell pkg-config --cflags hdf5_fortran) LDLIBS += $(shell pkg-config --libs hdf5_fortran) export PKG_CONFIG_PATH := $(HDF5DIR)/pkgconfig:$(PKG_CONFIG_PATH) FCFLAGS += $(shell pkg-config --cflags hdf5) LDLIBS += $(shell pkg-config --libs-only-L hdf5) -lhdf5_fortran -lhdf5 endif Loading