Marcelo E. Magallon wrote:
Hi Aurelien,
Hi!

On Sun, Oct 09, 2005 at 11:46:40PM +0200, Aurelien Jarno wrote:

 > +LDFLAGS.SO = -shared -soname $(LIB.SONAME)

 Some version of GCC seems to have removed support for -soname, can the
 compiler on GNU/kFreeBSD use -Wl,-soname instead?

Yes, we are using the same compiler as on GNU/Linux, so it supports the same options. That's mean you can use -Wl,-soname, as you suggested.

I have seen you have already done that, but the option is making a '='. Could you please apply the following patch to fix that. Thanks in advance.

Bye,
Aurelien

--- glew-1.3.4/config/Makefile.kfreebsd
+++ glew-1.3.4/config/Makefile.kfreebsd
@@ -5,7 +5,7 @@
 CFLAGS.EXTRA = -DGLEW_MX
 endif
 PICFLAG = -fPIC
-LDFLAGS.SO = -shared -Wl,-soname $(LIB.SONAME)
+LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
 LDFLAGS.EXTRA = -L/usr/X11R6/lib
 LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
 LDFLAGS.STATIC = -Wl,-Bstatic



--
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [EMAIL PROTECTED]         | [EMAIL PROTECTED]
   `-    people.debian.org/~aurel32 | www.aurel32.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to