pkg-config sometimes strips -I/opt/local/include from its output

Ken Cunningham ken.cunningham.webuse at
Wed Dec 9 06:13:55 UTC 2020

> There is another variable PKG_CONFIG_ALLOW_SYSTEM_CFLAGS which prevents
> the affected paths from being removed from the output.

Might as well mention there is another similar one 

PKG_CONFIG_ALLOW_SYSTEM_LIBS: Don't strip -L/usr/lib out of libs; 

I was looking into this when Michael was having so much trouble beating gobject-introspection into submission…

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-dev mailing list