On Mar 13, 09 20:48:36 +0100, Cristian Morales Vega wrote:
But after all this... I'm asking myself why the library is needed to start with. For the final executable linked against ffmpeg libraries: - A DT_NEEDED will be added for every -lxxx in LDFLAGS with no check at all (not true if --as-needed is used).
I am not familiar with DT_NEEDED and --as-needed
So, when the linker asks me for the libraries... it jut does checks?
Yes, that is my understanding. At build time, the library is examined, to verify that all symbols are present and of correct type and version. For dynamic linking, nothing else is done. For static linking, code is copied from the library into the executable.
It could create the same executable without these libraries (at least when not linking statically). That would be good to know, if that's true I don't need to worry about the compatibility with Packman packages... if I'm able to create an executable I will be sure it will work (if the headers are the same).
The only reason for having libffmpeg-api is to allow these checks to succeed without having the actual code around. cheers, JW- -- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de back to ascii! __/ _---|____________\/ \ | 0911 74053-508 __/ (____/ /\ (/) | _____________________________/ _/ \_ vim:set sw=2 wm=8 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org