From 24ac1ce44ec0dcf4ede75fa54210212086d4e7e9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 10 Aug 2012 15:25:54 +0000 Subject: fix own error with scons, building failed when BF_BUILDDIR was absolute. --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 9f8027c1706..53e1911a3e7 100644 --- a/SConstruct +++ b/SConstruct @@ -451,7 +451,7 @@ if not os.path.isdir ( B.root_build_dir): if not os.path.isdir ( B.root_build_dir + 'data_headers'): os.makedirs ( B.root_build_dir + 'data_headers' ) # use for includes -env['DATA_HEADERS'] = "#" + env['BF_BUILDDIR'] + "/data_headers" +env['DATA_HEADERS'] = os.path.join(os.path.abspath(env['BF_BUILDDIR']), "data_headers") def ensure_data(FILE_FROM, FILE_TO, VAR_NAME): if os.sep == "\\": FILE_FROM = FILE_FROM.replace("/", "\\") -- cgit v1.2.3