Add -install_name in link_a.darwin rule.
authorAndy Polyakov <appro@openssl.org>
Fri, 28 Oct 2005 08:10:47 +0000 (08:10 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 28 Oct 2005 08:10:47 +0000 (08:10 +0000)
PR: 1218

Makefile.shared

index acee25c..fb740c9 100644 (file)
@@ -227,6 +227,7 @@ link_a.darwin:
        if [ -n "$$SHLIB_SOVER_NODOT" ]; then \
                SHAREDFLAGS="$$SHAREDFLAGS -compatibility_version $$SHLIB_SOVER_NODOT"; \
        fi; \
+       SHAREDFLAGS="$$SHAREDFLAGS -install_name ${INSTALLTOP}/lib/$$SHLIB${SHLIB_EXT}"; \
        $(LINK_SO_A)
 link_app.darwin:       # is there run-path on darwin?
        $(LINK_APP)