[Openal-devel] Some patches used in Debian openal-soft package

Andres Mejia mcitadel at gmail.com
Tue May 19 14:14:06 PDT 2009


On Tuesday 19 May 2009 11:08:17 Jason Daly wrote:
> Andres Mejia wrote:
> > IMO, the preferred method would be for the build system (whether it be
> > cmake, autotools, etc.) of whatever program that needs openal cope with
> > finding the correct information it needs to link with the library, and
> > find the headers.
> >
> > The pkg-config file may be useful for finding the version, but then
> > again, the build system of the program should instead be checking the
> > actual functions that are needed from openal.
>
> Well, I think they ideally would do both.  First, use pkg-config (or
> whatever) to find it, then do a test for the header and link with a
> known symbol to be sure it's there.
>
> Without something like pkg-config, you can only check the usual places
> (/usr, /usr/local, ...), which might not catch every case.

Most build systems are capable of checking various locations for headers and 
libraries on different systems. Also, most build systems allow you to specify 
where to look for headers and libraries.

I wouldn't want to link to a library that's installed in a non-standard 
location.

-- 
Regards,
Andres


More information about the Openal-devel mailing list