Makefile.shared needs to know how it can reach itself.
authorRichard Levitte <levitte@openssl.org>
Tue, 15 Oct 2002 11:58:44 +0000 (11:58 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 15 Oct 2002 11:58:44 +0000 (11:58 +0000)
Makefile.org
engines/Makefile.ssl

index 4eb6708..408814e 100644 (file)
@@ -269,6 +269,7 @@ build-shared: do_$(SHLIB_TARGET) link-shared
 do_$(SHLIB_TARGET):
        @ libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
                $(NEWMAKE) -f Makefile.shared \
+                       SHARED_MAKEFILE=Makefile.shared \
                        CC="$(CC)" LDFLAGS="$(LDFLAGS)" \
                        SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
                        LIBNAME=$$i LIBVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR} \
index afa70b7..c0dd720 100644 (file)
@@ -70,6 +70,7 @@ libs: $(LIBOBJ)
                set -e; \
                for l in $(LIBNAMES); do \
                        $(NEWMAKE) -f ../Makefile.shared \
+                               SHARED_MAKEFILE=../Makefile.shared \
                                CC="$(CC)" LIBNAME=$$l LIBEXTRAS=e_$$l.o \
                                LIBDEPS='-L.. -lcrypto $(EX_LIBS)' \
                                link_o.$(SHLIB_TARGET); \