[MPlayer-dev-eng] [PATCH] directfb -> pkg-config

Enrico Weigelt weigelt at metux.de
Thu Feb 16 23:31:55 CET 2006


* Rich Felker <dalias at aerifal.cx> schrieb:

<snip>

> Why should you need a special program to tell you custom CFLAGS, etc.
> for using a library? If the library is properly installed, just -lfoo
> should be sufficient. 

Whats with dependencies, custom pathes, etc ?

And how to properly detect if a certain package is installed ?

> Having pkg-config randomly add its own
> CFLAGS/LDFLAGS/etc. to your program's build could interfere with other
> things and is just broken in concept.
> 
> If the user has installed the library _incorrectly_, such as in odd
> nonstandard locations, they should know this and use whatever
> extralibs/extrainclude option is needed.

So you expect the user to patch makefiles by hand for every single 
library just if he hat put it somewhere else than /usr/lib ? 


cu
-- 
"*Who am I*? I am Susan Ivanova, Commander, daughter of Andrei and Sophie
  Ivanova. I am the right hand of vengeance, and the boot that is going 
  to kick your sorry ass all the way back to Earth... I am Death Incarnate, 
  and the last living thing that you are ever going to see. God sent me."
                                                       -- Cmdr. Ivanova




More information about the MPlayer-dev-eng mailing list