summaryrefslogtreecommitdiff
path: root/source4/main.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/main.mk')
-rw-r--r--source4/main.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/main.mk b/source4/main.mk
index c572f7e79c..38c76bb99c 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -43,6 +43,8 @@ manpages: $(MANPAGES)
all: showflags $(ALL_PREDEP) bin/asn1_compile bin/compile_et binaries modules pythonmods
everything: all libraries headers
+LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)=$(builddir)/bin/shared
+
# 'make testsuite' creates all binaries which are
# needed by samba3's 'make test' and the build-farm
# scripts use that it as fallback in case