From 7cc34bd248d3728a1fca21a3266cdd56530a2cf9 Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Wed, 13 Jul 2016 12:52:36 +0200 Subject: [PATCH] Make sure 'lib' folders are created first. --- ede-bug-tools/ede-bug-report/Jamfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ede-bug-tools/ede-bug-report/Jamfile b/ede-bug-tools/ede-bug-report/Jamfile index fcfbe71..ad8b208 100644 --- a/ede-bug-tools/ede-bug-report/Jamfile +++ b/ede-bug-tools/ede-bug-report/Jamfile @@ -50,16 +50,20 @@ if $(CURL_CFLAGS) || $(CURL_LIBS) { $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) ; + MkDir $(XMLRPC_C_LIB_DIR) ; + # xmlrpc-c related builds rule XmlrpcLibrary { local lib = [ FDirName $(XMLRPC_C_LIB_DIR) $(<) ] ; + local libe = $(lib:S=$(SUFLIB)) ; # compile it with OPTIMFLAGS got from top Jamconfig ObjectCcFlags $(>) : $(XMLRPC_C_FLAGS) $(OPTIMFLAGS) ; StaticLibrary $(lib) : $(>) ; + LocalDepends $(libe) : $(XMLRPC_C_LIB_DIR) ; # make sure libraries are build first - LocalDepends $(BINARY) : $(lib:S=$(SUFLIB)) ; + LocalDepends $(BINARY) : $(libe) ; } SEARCH_SOURCE += [ FDirName $(XMLRPC_C_SRC_PATH) src ] ;