Make nc-config work even if user doesn't set PKG_CONFIG_PATH

This commit is contained in:
Russ Rew 2015-06-12 14:00:38 -06:00
parent 952b73e51e
commit 7a44b66300

View File

@ -180,7 +180,7 @@ while test $# -gt 0; do
;;
--libs)
pkg-config netcdf --libs
PKG_CONFIG_PATH=${prefix}/lib/pkgconfig pkg-config netcdf --libs
;;
--prefix)