On Mar 24, 2007, at 19:02, Elias Pipping wrote:

On Mar 25, 2007, at 12:46 AM, Ryan Schmidt wrote:

Many ports have had to add -L{$prefix}/lib to the LDFLAGS and -I$ {prefix}/include to the CFLAGS. Wouldn't it be much easier if the MacPorts infrastructure would add that to the LDFLAGS and CFLAGS generally for all ports? Could that hurt anything?

I would think the same should apply to CPPFLAGS and/or CXXFLAGS, not that I have yet understood why there are two variables for C++ code or what the difference is between them.

CPPFLAGS are for the preprocessor, they're unrelated to C++

*That* is of course very interesting. I feel very silly for not knowing that. Thank you for clarifying.


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to