httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasmus Lerdorf <ras...@lerdorf.on.ca>
Subject Re: Building dynamic modules
Date Sun, 24 May 1998 12:01:40 GMT
> 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) ?

-Rasmus


Mime
View raw message