Choosing between libc++ or libstdc++ based third party libraries during linking

Clemens Lang cal at macports.org
Thu Jun 19 08:32:03 PDT 2014


Hi,

> The ECW support in GDAL (#43678) is tied to the use of an external dylib (non
> open-sourced) that comes in two versions: one is linked against the old
> libstdc++, the other against libc++. Question is: how to decide in the
> Portfile which one to use?

Switch depending of the value configure.cxx_stdlib. It's either libstdc++ or
libc++.

-- 
Clemens Lang


More information about the macports-dev mailing list