diff --git a/buildout/software-profiles/openssl.cfg b/buildout/software-profiles/openssl.cfg
index bf23ac7a8d9d7823ee576bbed2b2e70d61d85b05..874322d53603763bf4a7146c46f9f77e6fb55551 100644
--- a/buildout/software-profiles/openssl.cfg
+++ b/buildout/software-profiles/openssl.cfg
@@ -19,5 +19,5 @@ configure-options =
   zlib
 
 make-options =
-  LDFLAGS="-Wl,-rpath -Wl,${zlib:location}/lib"
-  SHARED_LDFLAGS="-Wl,-rpath -Wl,${zlib:location}/lib"
+  LDFLAGS="-Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${buildout:parts-directory}/${:_buildout_section_name_}/lib64"
+  SHARED_LDFLAGS="-Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${buildout:parts-directory}/${:_buildout_section_name_}/lib64"