SONAME clarification

Marco Atzeri marco_atzeri at yahoo.it
Thu Nov 13 10:07:23 CST 2008


--- Marco Atzeri  ha scritto:

> --- "John W. Eaton"  ha scritto:
> 
> > On 12-Nov-2008, Marco Atzeri wrote:
 
> > Oh, I see, you are changing LIBPRE to "cyg".  If
> you
> > do that and you
> > also strip it off for the --out-implib option,
> then
> > how about using
> > something like
> > 
> >   SONAME_FLAGS='-Wl,--out-implib=$(patsubst
> > $(LIBPRE)%, %, $@).a'
> 
> I need to check, in any case there are other points 
> where I need to differentiate between
> LIBPRE=cyg and an additional SOPRE=lib.
> See attached patch, in cygwin it works, and
> I should have left correct for all the other
> systems.

I re-made the patch using your suggestion,
and adding the SOPRE=lib to differentiate from
LIBPRE=cyg

SONAME_FLAGS='-Wl,--out-implib=$(patsubst $(SOPRE)%,
%, $@).a'

> 
> > Comments?
> > 
> > jwe
> > 

The patch is now cleaner and simpler.
It builds fine on cygwin, but a check on other 
system is worth.

Regards
Marco



      Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: octave-3.0.3-1.src-config.patch
Type: text/x-diff
Size: 7000 bytes
Desc: 3907104749-octave-3.0.3-1.src-config.patch
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20081113/c8f6df2b/attachment.bin 


More information about the Octave-maintainers mailing list