s3/s4:build: honor library path from environment
[ira/wip.git] / source4 / Makefile
index d6ce5170ca6f1fd1fd1ee06304707e8ee6de08ae..d6ae88706665f3ec8483367b4f4b9b382d5d41b7 100644 (file)
@@ -163,7 +163,7 @@ manpages:: $(MANPAGES)
 all:: showflags $(ALL_PREDEP) binaries modules pythonmods libraries headers
 everything:: all
 
-LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)=$(shliboutputdir)
+LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)=$(shliboutputdir):$$$(LIB_PATH_VAR)
 
 # 'make testsuite' creates all binaries which are
 # needed by samba3's 'make test' and the build-farm