On Mon, Nov 23, 2015 at 07:52:44AM -0600, Jan Vesely wrote:
> On Mon, 2015-11-23 at 14:24 +1100, Jonathan Gray wrote:
> > Use PKG_CHECK_MODULES to get the flags to link libelf.
> 
> This has been discussed before, and it does not work with elfutils:
> http://lists.freedesktop.org/archives/mesa-dev/2014-October/069748.html
> 
> Jan

Back to
export LDFLAGS=-L/usr/local/lib
export CPPFLAGS="-I/usr/local/include -I/usr/local/include/libelf"

to make mesa build when linking libelf here on OpenBSD then...

$ pkg-config --cflags libelf                                                    
                                      
-I/usr/local/include/libelf -I/usr/local/include

$ pkg-config --libs libelf   
-L/usr/local/lib -lelf
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to