diff --git a/Makefile.shared b/Makefile.shared index acee25cfeac67a6c1d0f11efea82bf3a7700e3e5..fb740c9e3218029675304472472a9b4dfbc6782f 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -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)