Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libjitsi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZRTP
libjitsi
Commits
8e2d5a5e
Commit
8e2d5a5e
authored
10 years ago
by
Damian Minkov
Browse files
Options
Downloads
Patches
Plain Diff
Adds speex dynamic for building speex binary, needed for debian source package.
parent
7a9a6007
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/native/build.xml
+31
-4
31 additions, 4 deletions
src/native/build.xml
with
31 additions
and
4 deletions
src/native/build.xml
+
31
−
4
View file @
8e2d5a5e
...
...
@@ -578,7 +578,31 @@
<!-- compile jnspeex library -->
<target
name=
"speex"
description=
"Build jnspeex shared library"
depends=
"init-native"
>
<fail
message=
"speex repository not set!"
unless=
"speex"
/>
<condition
property=
"is.speex.set"
value=
"true"
>
<and>
<isset
property=
"speex"
/>
<not>
<isset
property=
"speex.dynamic"
/>
</not>
</and>
</condition>
<condition
property=
"is.speex.set"
value=
"true"
>
<and>
<isset
property=
"speex.dynamic"
/>
<not>
<isset
property=
"speex"
/>
</not>
</and>
</condition>
<condition
property=
"is.speex.dynamic.set"
value=
"true"
>
<and>
<isset
property=
"speex.dynamic"
/>
<isset
property=
"is.running.linux"
/>
</and>
</condition>
<fail
message=
"speex repository not set!"
unless=
"is.speex.set"
/>
<cc
outtype=
"shared"
name=
"gcc"
outfile=
"${native_install_dir}/jnspeex"
objdir=
"${obj}"
>
<!-- common compiler flags -->
...
...
@@ -602,10 +626,13 @@
<!-- static libraries MUST be at the end otherwise
they will not be added to shared library
-->
<linkerarg
value=
"-Wl,-Bstatic"
location=
"end"
if=
"is.running.linux"
/>
<linkerarg
value=
"-lspeex"
location=
"end"
if=
"is.running.linux"
/>
<linkerarg
value=
"-lspeexdsp"
location=
"end"
if=
"is.running.linux"
/>
<linkerarg
value=
"-Wl,-z,relro"
if=
"is.running.debian"
/>
<linkerarg
value=
"-Wl,-Bstatic"
location=
"end"
if=
"is.running.linux"
unless=
"speex.dynamic"
/>
<linkerarg
value=
"-lspeex"
location=
"end"
if=
"is.running.linux"
unless=
"speex.dynamic"
/>
<linkerarg
value=
"-lspeexdsp"
location=
"end"
if=
"is.running.linux"
unless=
"speex.dynamic"
/>
<linkerarg
value=
"-Wl,-Bdynamic"
location=
"end"
if=
"is.running.linux"
/>
<linkerarg
value=
"-lspeex"
location=
"end"
if=
"is.speex.dynamic.set"
/>
<linkerarg
value=
"-lspeexdsp"
location=
"end"
if=
"is.speex.dynamic.set"
/>
<linkerarg
value=
"-lm"
location=
"end"
if=
"is.running.linux"
/>
<!-- Mac OS X specific flags -->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment