Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
2a3bc85b
Commit
2a3bc85b
authored
Oct 16, 2017
by
xoviat
Committed by
GitHub
Oct 16, 2017
Browse files
libraries: allow build_simple with configure args
parent
08c0538f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
library_builders.sh
library_builders.sh
+2
-1
No files found.
library_builders.sh
View file @
2a3bc85b
...
...
@@ -52,6 +52,7 @@ function build_simple {
local
name
=
$1
local
version
=
$2
local
url
=
$3
local
configure_args
=
${
@
:4
}
if
[
-e
"
${
name
}
-stamp"
]
;
then
return
fi
...
...
@@ -59,7 +60,7 @@ function build_simple {
local
targz
=
${
name_version
}
.tar.gz
fetch_unpack
$url
/
$targz
(
cd
$name_version
\
&&
./configure
--prefix
=
$BUILD_PREFIX
\
&&
./configure
--prefix
=
$BUILD_PREFIX
$configure_args
\
&&
make
\
&&
make
install
)
touch
"
${
name
}
-stamp"
...
...
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