mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
f1e3da7c46
Some mozconfigs don't include mozconfig.linux*, and don't get gtk-related definitions, so move them in a separate mozconfig. To avoid having two files, one for 32-bit builds and one for 64-bit builds, rely on the includer to set PKG_CONFIG_LIBDIR appropriately. At the same time, move all the --enable-default-toolkit=cairo-gtk2 in that new file in the case the gtk3 package wasn't pulled from tooltool.
13 lines
406 B
Plaintext
13 lines
406 B
Plaintext
. "$topsrcdir/build/unix/mozconfig.linux"
|
|
|
|
export PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/share/pkgconfig
|
|
|
|
if test `uname -m` = "x86_64"; then
|
|
# -march=pentiumpro is what our 32-bit native toolchain defaults to
|
|
CC="$CC -m32 -march=pentiumpro"
|
|
CXX="$CXX -m32 -march=pentiumpro"
|
|
ac_add_options --target=i686-pc-linux
|
|
ac_add_options --host=i686-pc-linux
|
|
ac_add_options --x-libraries=/usr/lib
|
|
fi
|