aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-11-20 22:14:10 +0100
committerMax Kellermann <max@duempel.org>2015-11-20 22:14:11 +0100
commit7dad662d690cc1c374009bbcd0df03bccb8f9ad7 (patch)
treeeeef8bce54b87cc0bb279a5de328f186ce08b611
parent2daa3eb61f7649ccdbdb056523920db9227731fe (diff)
downloadmpd-7dad662d690cc1c374009bbcd0df03bccb8f9ad7.tar.gz
mpd-7dad662d690cc1c374009bbcd0df03bccb8f9ad7.tar.xz
mpd-7dad662d690cc1c374009bbcd0df03bccb8f9ad7.zip
{android,win32}/build.py: fix missing rename
Diffstat (limited to '')
-rwxr-xr-xandroid/build.py2
-rwxr-xr-xwin32/build.py2
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)