On Wednesday, May 1, 2002, at 03:48  PM, Chris Zubrzycki <[EMAIL PROTECTED]> 
wrote:

> I am working on a package which uses -soname as part of the cc
> flag...but cc does not seem to know anything about it. is it a bug in
> the package, or do i need to patch the makefile? I used google and found
> some info, but nothing had the -soname flag, they only talked about
> soname in general.
>
> ./plugins/eliza/Makefile:       $(CC) $(LDFLAGS) $(CFLAGS) -I../../
> - -DSKIPCONFIG -shared -Wl,-soname,eliza.so -o $@ $< -lc
> ./plugins/sample/Makefile:      $(CC) $(LDFLAGS) $(CFLAGS) -I../../
> - -DSKIPCONFIG -shared -Wl,-soname,sample.so -o $@ $< -lc

I believe the Darwin equivalent is "-install_name $installdir/eliza.so". 
Replace $installdir with the actual location where it will be installed. 
And you don't need the "-Wl," flag for this, you should give it to cc 
straight out.

Dave Vasilevsky


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to