blob: 95d7b3cad7ddb182a019e9cad02b86835f4eefdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Prevent generating a makefile that attempts to create a lib
TEMPLATE = aux
# Pick up the host toolchain
option(host_build)
GYPI_CONTENTS = "{" \
" 'make_global_settings': [" \
" ['CC.host', '$$which($$QMAKE_CC)']," \
" ['CXX.host', '$$which($$QMAKE_CXX)']," \
" ['LD.host', '$$which($$QMAKE_LINK)'],"
GYPI_FILE = $$absolute_path('build/qmake_extras.gypi', $$QTWEBENGINE_ROOT)
write_file($$GYPI_FILE, GYPI_CONTENTS)
|