httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <...@engelschall.com>
Subject Re: Building dynamic modules
Date Sun, 24 May 1998 12:52:28 GMT

In article <Pine.WNT.3.96.980524075614.-187157A-100000@shell.lerdorf.on.ca> you wrote:
>> Yeah, this is a side-effect from both using "ld" manually and not allowing to
>> link DSOs against libraries. The last issue is solved by a recently posted
>> patch from me for 1.3.1-dev. The first issue can be solved by using the
>> compiler to build shared libraries instead of manually using "ld". This is the
>> better way in any case. As a workaround you can override LD_SHLIB with "gcc
>> -shared" or such a combination.

> But the Makefile.tmpl has this rule for building libphp3.so:

> libphp3.so: $(SHLIB_OBJS) $(SHLIB_OBJS_LIB)
>     rm -f $@
>     $(LD) $(LDFLAGS_SHLIB) -o $@ $(SHLIB_OBJS) $(SHLIB_OBJS_LIB) $(LIBS)

> Changing LD_SHLIB won't make a difference.  Shouldn't that $(LD) actually
> be $(LD_SHLIB) ?

Oh, sorry, Rasmus, the LD -> LD_SHLIB was a recent change and the Makefile
entry I made for you was from older days. Sorry to forgot mentioning it to
you. Please change $(LD) to $(LD_SHLIB).

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message