s3/s4:build: honor library path from environment
[ira/wip.git] / source3 / Makefile.in
index 01ab5f0a5816fe92622eb16c409974261ef2ba62..dd133df3b85db9aae6f086f748a6e9590ecfa54c 100644 (file)
@@ -3203,7 +3203,7 @@ valgrindtest:: all torture timelimit
 SELFTEST_FORMAT = plain
 selftestdir = ../selftest
 
-S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir)/bin"
+S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir)/bin:$$$(LIB_PATH_VAR)"
 
 selftest:: all torture timelimit
        @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \