[gdal-dev] gdal.pc

Ari Jolma ari.jolma at gmail.com
Thu Dec 14 23:54:49 PST 2017


When gdal is built in the Strawberry Perl environment (which includes 
MinGW C/C++ compiler gcc) the subsequent use of libgdal in building 
other tools (the Perl bindings) is based on using gdal.pc and pkgconfig.

Also, in that environment the linking of gdal with the dependent tools 
requires explicit listing of the "dep-libs" - which are available 
through the gdal-config but not from gdal.pc.

In linux including the dep-libs in the g++ command is not needed.

I wonder what would be the correct way to fix the problem.

Ari




More information about the gdal-dev mailing list