Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 add ability to specify OpenGL compile/link options

open
nobody
None
5
2011-07-12
2011-07-12
Chris Marshall
No

Transferred from bug #52350 for OpenGL: OpenGL fails to compile...
> ...
> The point is, I can have both 32-bit and 64-bit libraries as well as
> both 32-bit and 64-bit perls _and_ no clues about correct library paths
> in Config. Or, as I discovered another day, I can have broken Mesa in
> /usr/lib for backwards compatibility and working libGL in /usr/X11/lib
> so that I have to do some clever dance with LD_RUN_PATH.
>
> So, letting one specify the correct -I, -L and LD_RUN_PATH through the
> environment could be the best solution for automatic testing (as a
> bonus, you may harvest the configuration data from tester reports).

This would allow the OpenGL module to build whenever the
user can specify the neede compile, link, and load options.
This is particularly important when there are more than one
set of applicable libraries on a system: 32bit, 64bit, wgl,
glx, agl...

Discussion