summarylogtreecommitdiffstats
path: root/meson-mingw-wrapper
blob: 313702065c2a55be42b741ae790ea466b58ffe5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

meson setup \
  --prefix         /usr/@TRIPLE@ \
  --libdir         /usr/@TRIPLE@/lib \
  --libexecdir     /usr/@TRIPLE@/lib \
  --bindir         /usr/@TRIPLE@/bin \
  --sbindir        /usr/@TRIPLE@/bin \
  --includedir     /usr/@TRIPLE@/include \
  --datadir        /usr/@TRIPLE@/share \
  --mandir         /usr/@TRIPLE@/share/man \
  --infodir        /usr/@TRIPLE@/share/info \
  --localedir      /usr/@TRIPLE@/share/locale \
  --sysconfdir     /usr/@TRIPLE@/etc \
  --localstatedir  /var \
  --sharedstatedir /var/lib \
  --buildtype      release \
  --wrap-mode      nofallback \
  --strip \
  --cross-file /usr/share/mingw/toolchain-@TRIPLE@.meson \
  --default-library both \
  "$@" \
  -D               b_lto=true