diff options
-rwxr-xr-x | android/build.py | 2 | ||||
-rwxr-xr-x | win32/build.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/android/build.py b/android/build.py index 4f58590a8..04af2a0f4 100755 --- a/android/build.py +++ b/android/build.py @@ -87,7 +87,7 @@ class AndroidNdkToolchain: self.cflags = '-Os -g ' + common_flags self.cxxflags = '-Os -g ' + common_flags self.cppflags = '--sysroot=' + self.sysroot + ' -isystem ' + os.path.join(install_prefix, 'include') - self.ldflags = '--sysroot=' + self.sysroot + ' -L' + os.path.join(root_path, 'lib') + self.ldflags = '--sysroot=' + self.sysroot + ' -L' + os.path.join(install_prefix, 'lib') self.libs = '' libstdcxx_path = os.path.join(ndk_path, 'sources/cxx-stl/gnu-libstdc++', gcc_version) diff --git a/win32/build.py b/win32/build.py index 965b727c1..b15b0b443 100755 --- a/win32/build.py +++ b/win32/build.py @@ -46,7 +46,7 @@ class CrossGccToolchain: self.cflags = '-O2 -g ' + common_flags self.cxxflags = '-O2 -g ' + common_flags self.cppflags = '-isystem ' + os.path.join(install_prefix, 'include') - self.ldflags = '-L' + os.path.join(root_path, 'lib') + self.ldflags = '-L' + os.path.join(install_prefix, 'lib') self.libs = '' self.env = dict(os.environ) |