From 8ec3339ba3a893fc5d90079065da2f29a47b116e Mon Sep 17 00:00:00 2001 From: Andrew Beekhof Date: Wed, 16 Sep 2009 09:02:35 +0000 Subject: [PATCH] Darwin libraries need -install_name otherwise they're not usable without DYLD_LIBRARY_PATH (which is highly unrecommended) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2417 fd59a12c-fef9-0310-b244-a6a79926bd2f --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 52189036..2fd31317 100644 --- a/configure.ac +++ b/configure.ac @@ -238,7 +238,7 @@ case "$host_os" in OS_DYFLAGS="" DARWIN_OPTS="-dynamiclib -bind_at_load \ -current_version ${SONAME} \ - -compatibility_version ${SONAME}" + -compatibility_version ${SONAME} -install_name \$(libdir)/\$(@)" AC_DEFINE_UNQUOTED([MAP_ANONYMOUS], [MAP_ANON], [Shared memory define for Darwin platform]) AC_DEFINE_UNQUOTED([PATH_MAX], [4096],