Henning Glawe wrote:
> On Mon, Oct 26, 2009 at 07:47:07AM -0400, Chris Marshall wrote:
>> I'm planning to clean up the OpenGL Makefile.PL a bit more, along
>> the lines of adding the ability to explicitly set the required
>> defines, libs, etc.  Beyond that, I'm looking at moving to a
>> Module::Build implementation to simplify the makefile juggling.
>> The headers and libraries detection could use something like
>> Devel::CheckLib (soon to be a more generic version of our PDL
>> trylink() utilities).  The OpenGL library interface would be
>> structured around GLee or GLEW.
> 
> another small issue I found with the present build system: the list of
> libraries is the same for static and dynamic linking. for distribution
> packaging, this creates some unnecessary package dependencies, as the
> resulting binary is linked against libraries whithout ever using symbols
> contained in them.
> most of these are only necessary in case of linking against static
> libraries.
> 
> in case of libopengl-perl, the unnecessary dependencies are "-lXi -lXmu -lICE
> -lXext". here is the relevant warnings from the debian package build process:

Thanks for the info.  Verifying that a correct, minimal set of libraries
is used is the motivation for Devel::CheckLib.

--Chris

P.S. Now that there is a FreeGLUT based OpenGL install, it may be
possible to remove the X11 libraries without impacting OpenGL builds
on the various platforms.

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to