]> granicus.if.org Git - openssl/commitdiff
Add -install_name to link_a.darwin rule [from HEAD].
authorAndy Polyakov <appro@openssl.org>
Fri, 28 Oct 2005 08:11:51 +0000 (08:11 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 28 Oct 2005 08:11:51 +0000 (08:11 +0000)
PR: 1218

Makefile.shared

index acee25cfeac67a6c1d0f11efea82bf3a7700e3e5..fb740c9e3218029675304472472a9b4dfbc6782f 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)