librttopo: fix cross compilation

+4 -1
+4 -1
pkgs/by-name/li/librttopo/package.nix
··· 27 27 nativeBuildInputs = [ 28 28 autoreconfHook 29 29 validatePkgConfig 30 - geos # for geos-config 31 30 ]; 32 31 33 32 buildInputs = [ geos ]; 33 + 34 + configureFlags = [ 35 + "--with-geosconfig=${lib.getExe' (lib.getDev geos) "geos-config"}" 36 + ]; 34 37 35 38 enableParallelBuilding = true; 36 39