diff options
author | lloyd <[email protected]> | 2014-01-10 03:41:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-01-10 03:41:59 +0000 |
commit | 6894dca64c04936d07048c0e8cbf7e25858548c3 (patch) | |
tree | 5d572bfde9fe667dab14e3f04b5285a85d8acd95 /configure.py | |
parent | 9efa3be92442afb3d0b69890a36c7f122df18eda (diff) |
Move lib into src
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.py b/configure.py index da1a6a4a8..5716931a0 100755 --- a/configure.py +++ b/configure.py @@ -1031,9 +1031,9 @@ def create_template_vars(build_config, options, modules, cc, arch, osinfo): # Handle src/X/X.cpp -> X.o if file == parts[-1] + '.cpp': - name = '_'.join(dir.split(os.sep)[1:]) + '.cpp' + name = '_'.join(dir.split(os.sep)[2:]) + '.cpp' else: - name = '_'.join(dir.split(os.sep)[1:]) + '_' + file + name = '_'.join(dir.split(os.sep)[2:]) + '_' + file # Special case hack cause I'm lazy name = name.replace('tls_tls_', 'tls_') @@ -1765,7 +1765,7 @@ def main(argv = None): options.base_dir = os.path.dirname(argv[0]) options.src_dir = os.path.join(options.base_dir, 'src') - options.lib_dir = os.path.join(options.base_dir, 'lib') + options.lib_dir = os.path.join(options.src_dir, 'lib') options.build_data = os.path.join(options.src_dir, 'build-data') options.makefile_dir = os.path.join(options.build_data, 'makefile') |