Re: Baubefehl lokalisieren

Philipp Thomas <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization SUSE LINUX Products GmbH, G F: Markus Rex, HRB 16746 (AG Nürnberg)
Message-ID <[email protected]>
* David Haller ([email protected]) [20090213 04:26]:

> [..]
> >gcc -pipe -shared -o libtktray1.1.so tktray.o -lXext -lX11  -L/usr/lib -
> >ltclstub8.5 -L/usr/lib -ltkstub8.5                                  
> >: libtktray1.1.so     

Ein Soname ist hier völlig überflüssig denn es handelt sich um eine
TCL-Erweiterung und daher eher um ein Plugin als eine normale Shared
library.
 
> Wg. dem soname könnte man ggfs. den sed-Befehl anpassen, z.B.
>     ... -shared -Wl,-soname,lib%{name}.so.%{version}
> (und die lib noch passend umbenennen und mit symlinks verarzten) oder
> so Zeugs, wenn man das .spec auch mit tktray1.2 verwenden will ;)

Ist IMO aus den oben angegebenen Gründen reichlich vergeudete Zeit :)

Philipp
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.