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