Makefile.shared needs to know how it can reach itself.
[openssl.git] / Makefile.org
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} \