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
daf6a359
Commit
daf6a359
authored
Jan 25, 2022
by
Andrew Murray
Browse files
Skip configure in giflib if version >= 5.1.5
parent
3903f7f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
library_builders.sh
library_builders.sh
+18
-1
No files found.
library_builders.sh
View file @
daf6a359
...
...
@@ -228,7 +228,24 @@ function build_lcms2 {
}
function
build_giflib
{
build_simple giflib
$GIFLIB_VERSION
https://downloads.sourceforge.net/project/giflib
local
name
=
giflib
local
version
=
$GIFLIB_VERSION
local
url
=
https://downloads.sourceforge.net/project/giflib
if
[
$(
lex_ver
$GIFLIB_VERSION
)
-lt
$(
lex_ver 5.1.5
)
]
;
then
build_simple
$name
$version
$url
else
local
ext
=
tar.gz
if
[
-e
"
${
name
}
-stamp"
]
;
then
return
fi
local
name_version
=
"
${
name
}
-
${
version
}
"
local
archive
=
${
name_version
}
.
${
ext
}
fetch_unpack
$url
/
$archive
(
cd
$name_version
\
&&
make
-j4
\
&&
make
install
)
touch
"
${
name
}
-stamp"
fi
}
function
build_xz
{
...
...
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