Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
8380c3be
Commit
8380c3be
authored
Oct 26, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python/build/autotools: pass RANLIB to configure
Fixes various static library linker failures ("bad extended name entry at header"), because the wrong "ranlib" was used.
parent
6470bcda
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
0 deletions
+6
-0
build.py
android/build.py
+2
-0
autotools.py
python/build/autotools.py
+1
-0
ffmpeg.py
python/build/ffmpeg.py
+1
-0
build.py
win32/build.py
+2
-0
No files found.
android/build.py
View file @
8380c3be
...
...
@@ -78,6 +78,7 @@ class AndroidNdkToolchain:
self
.
cxx
=
os
.
path
.
join
(
toolchain_bin
,
arch
+
'-g++'
)
self
.
ar
=
os
.
path
.
join
(
toolchain_bin
,
arch
+
'-ar'
)
self
.
ranlib
=
os
.
path
.
join
(
toolchain_bin
,
arch
+
'-ranlib'
)
self
.
nm
=
os
.
path
.
join
(
toolchain_bin
,
arch
+
'-nm'
)
self
.
strip
=
os
.
path
.
join
(
toolchain_bin
,
arch
+
'-strip'
)
...
...
@@ -142,6 +143,7 @@ configure = [
'LDFLAGS='
+
toolchain
.
ldflags
,
'LIBS='
+
toolchain
.
libs
,
'AR='
+
toolchain
.
ar
,
'RANLIB='
+
toolchain
.
ranlib
,
'STRIP='
+
toolchain
.
strip
,
'--host='
+
toolchain
.
arch
,
'--prefix='
+
toolchain
.
install_prefix
,
...
...
python/build/autotools.py
View file @
8380c3be
...
...
@@ -32,6 +32,7 @@ class AutotoolsProject(Project):
'LDFLAGS='
+
toolchain
.
ldflags
,
'LIBS='
+
toolchain
.
libs
,
'AR='
+
toolchain
.
ar
,
'RANLIB='
+
toolchain
.
ranlib
,
'STRIP='
+
toolchain
.
strip
,
'--host='
+
toolchain
.
arch
,
'--prefix='
+
toolchain
.
install_prefix
,
...
...
python/build/ffmpeg.py
View file @
8380c3be
...
...
@@ -34,6 +34,7 @@ class FfmpegProject(Project):
'--extra-ldflags='
+
toolchain
.
ldflags
,
'--extra-libs='
+
toolchain
.
libs
,
'--ar='
+
toolchain
.
ar
,
'--ranlib='
+
toolchain
.
ranlib
,
'--enable-cross-compile'
,
'--arch='
+
arch
,
'--target-os='
+
target_os
,
...
...
win32/build.py
View file @
8380c3be
...
...
@@ -35,6 +35,7 @@ class CrossGccToolchain:
self
.
cc
=
os
.
path
.
join
(
toolchain_bin
,
arch
+
'-gcc'
)
self
.
cxx
=
os
.
path
.
join
(
toolchain_bin
,
arch
+
'-g++'
)
self
.
ar
=
os
.
path
.
join
(
toolchain_bin
,
arch
+
'-ar'
)
self
.
ranlib
=
os
.
path
.
join
(
toolchain_bin
,
arch
+
'-ranlib'
)
self
.
nm
=
os
.
path
.
join
(
toolchain_bin
,
arch
+
'-nm'
)
self
.
strip
=
os
.
path
.
join
(
toolchain_bin
,
arch
+
'-strip'
)
...
...
@@ -89,6 +90,7 @@ configure = [
'LDFLAGS='
+
toolchain
.
ldflags
+
' -static'
,
'LIBS='
+
toolchain
.
libs
,
'AR='
+
toolchain
.
ar
,
'RANLIB='
+
toolchain
.
ranlib
,
'STRIP='
+
toolchain
.
strip
,
'--host='
+
toolchain
.
arch
,
'--prefix='
+
toolchain
.
install_prefix
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment