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 f462875e9f..02f0e853e5 100644
--- a/source3/samba4.m4
+++ b/source3/samba4.m4
@@ -120,10 +120,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