|
Lines 159-165
Link Here
|
| 159 |
OPTIONS+=" --layout=system" |
159 |
OPTIONS+=" --layout=system" |
| 160 |
OPTIONS+=" threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)" |
160 |
OPTIONS+=" threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)" |
| 161 |
|
161 |
|
| 162 |
[[ ${CHOST} == *-winnt* ]] && OPTIONS+=" -sNO_BZIP2=1" |
162 |
if [[ ${CHOST} == *-winnt* ]] || [[ ${CHOST} == *-mingw* ]]; then |
|
|
163 |
OPTIONS+=" -sNO_BZIP2=1" |
| 164 |
OPTIONS+=" target-os=windows" |
| 165 |
if use threads; then |
| 166 |
# TODO: pthreads can still be available under Windows |
| 167 |
OPTIONS+=" threadapi=win32" |
| 168 |
fi |
| 169 |
fi |
| 163 |
} |
170 |
} |
| 164 |
|
171 |
|
| 165 |
multilib_src_compile() { |
172 |
multilib_src_compile() { |