Rlanguage
Rlanguage

Reputation: 1

How to change default path of wx-config in makefile?

I am working on linux server in which wx-widget 2.8 is installed in /usr/local/. I have installed wxWidgets 2.9.5 in my build directory /home/jacob/. How to change path of wx-config to my build dir in Makefile? The default path of wx-config --prefix is /usr/local

Upvotes: 0

Views: 611

Answers (1)

VZ.
VZ.

Reputation: 22688

You seem to be asking about how to change the path returned by /usr/local/bin/wx-config but this is a wrong way to approach the problem. If you installed wxWidgets under /home/jacob, you must now have /home/jacob/bin/wx-config -- simply use this one instead, either explicitly, or by putting /home/jacob/bin before /usr/local/bin in your PATH.

Upvotes: 1

Related Questions