osm2pgsql: fix build with new proj

A forgotten flag, apparently.  Now it seems to be detecting
the (new) API well.
This commit is contained in:
Vladimír Čunát 2021-07-17 10:46:09 +02:00
parent 5e1aa874cc
commit b0fc0ba4ac
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -34,8 +34,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DEXTERNAL_LIBOSMIUM=ON" "-DEXTERNAL_PROTOZERO=ON" ]
++ lib.optional withLuaJIT "-DWITH_LUAJIT:BOOL=ON";
NIX_CFLAGS_COMPILE = "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H";
meta = with lib; {
description = "OpenStreetMap data to PostgreSQL converter";
homepage = "https://osm2pgsql.org";