diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-06-17 20:50:03 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-06-17 20:50:03 +0300 |
commit | 8f27cd399e19fb56ceaf98c3bfc477012312a632 (patch) | |
tree | ada475442866f9bf25b88ec68da8d21379e63526 /backends.py | |
parent | ec74616bbd7b16b3ce0b953e02e83c50252c73db (diff) | |
download | meson-8f27cd399e19fb56ceaf98c3bfc477012312a632.zip meson-8f27cd399e19fb56ceaf98c3bfc477012312a632.tar.gz meson-8f27cd399e19fb56ceaf98c3bfc477012312a632.tar.bz2 |
Fixed broken subdir object extraction and moved tests.
Diffstat (limited to 'backends.py')
-rw-r--r-- | backends.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backends.py b/backends.py index 424d900..cf8b90a 100644 --- a/backends.py +++ b/backends.py @@ -176,9 +176,12 @@ class Backend(): if pathsegs[0] == 'subprojects': pathsegs = pathsegs[2:] fixedpath = os.sep.join(pathsegs) - objbase = os.path.join(fixedpath, osrc.fname).replace('/', '_').replace('\\', '_') + print('fname', osrc.fname) + objbase = osrc.fname.replace('/', '_').replace('\\', '_') + print('objbase', objbase) objname = os.path.join(proj_dir_to_build_root, targetdir, os.path.basename(objbase) + suffix) + print('objname', objname) result.append(objname) return result |