Skip to content

Commit 2aff6fb

Browse files
giordanostaticfloat
authored andcommitted
[Gettext] Add XML2 to the dependencies (#350)
* [Gettext] Add XML2 to the dependencies * [Gettext] Fix name of the product
1 parent 41fd723 commit 2aff6fb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

G/Gettext/build_tarballs.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ sources = [
1111
# Bash recipe for building across all platforms
1212
script = raw"""
1313
cd $WORKSPACE/srcdir/gettext-*/
14-
15-
./configure --prefix=$prefix --host=$target CFLAGS="-O2"
14+
export CFLAGS="-O2"
15+
./configure --prefix=$prefix --host=$target
1616
make -j${nproc}
1717
make install
1818
"""
@@ -23,12 +23,13 @@ platforms = supported_platforms()
2323

2424
# The products that we will ensure are always built
2525
products = [
26-
LibraryProduct("libgettext", :libgettext)
26+
LibraryProduct(["libgettextlib", "libgettextlib-0-20"], :libgettext)
2727
]
2828

2929
# Dependencies that must be installed before this package can be built
3030
dependencies = [
3131
"Libiconv_jll",
32+
"XML2_jll",
3233
]
3334

3435
# Build the tarballs, and possibly a `build.jl` as well.

0 commit comments

Comments
 (0)