summaryrefslogtreecommitdiff
path: root/source3/samba4.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source3/samba4.m4')
-rw-r--r--source3/samba4.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/samba4.m4 b/source3/samba4.m4
index 3a78ba4566..c3ecbf37e7 100644
--- a/source3/samba4.m4
+++ b/source3/samba4.m4
@@ -123,10 +123,10 @@ AC_SUBST(INTERN_LDFLAGS)
AC_SUBST(INSTALL_LINK_FLAGS)
if test $USESHARED = "true";
then
- INTERN_LDFLAGS="-L\${builddir}/bin/shared -L\${builddir}/bin/static"
- INSTALL_LINK_FLAGS="-Wl,-rpath-link,\${builddir}/bin/shared";
+ INTERN_LDFLAGS="-L\$(shliboutputdir) -L\${builddir}/bin/static"
+ INSTALL_LINK_FLAGS="-Wl,-rpath-link,\$(shliboutputdir)";
else
- INTERN_LDFLAGS="-L\${builddir}/bin/static -L\${builddir}/bin/shared"
+ INTERN_LDFLAGS="-L\${builddir}/bin/static -L\$(shliboutputdir)"
fi
dnl Samba 4 files