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:
parent
5e1aa874cc
commit
b0fc0ba4ac
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue