Date: Saturday, October 16, 2021 @ 15:55:30 Author: archange Revision: 1030535
FS#63834 Fix netcdf linking Modified: netcdf-cxx/trunk/PKGBUILD ----------+ PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-10-16 15:47:38 UTC (rev 1030534) +++ PKGBUILD 2021-10-16 15:55:30 UTC (rev 1030535) @@ -4,7 +4,7 @@ pkgname=netcdf-cxx pkgver=4.3.1 -pkgrel=2 +pkgrel=3 pkgdesc="NetCDF C++ bindings" arch=(x86_64) url="https://github.com/Unidata/netcdf-cxx4/" @@ -23,6 +23,7 @@ build() { cd ${pkgname}4-${pkgver} + export CXXFLAGS="${CXXFLAGS} -lnetcdf" ./configure \ --prefix=/usr \ --enable-shared \
