blob: 294ebc6091fc4158ab9ffd24cab3f54dbe92c47d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Prevent generating a makefile that attempts to create a lib
TEMPLATE = aux
GYPI_CONTENTS += " ['CC', '$$which($$QMAKE_CC)']," \
" ['CXX', '$$which($$QMAKE_CXX)']," \
" ['LD', '$$which($$QMAKE_LINK)'],"
GYPI_CONTENTS += " ],"
GYPI_CONTENTS += "}"
GYPI_FILE = $$absolute_path('build/qmake_extras.gypi', $$QTWEBENGINE_ROOT)
!exists($$GYPI_FILE): error("-- $$GYPI not found --")
# Append to the file already containing the host settings.
write_file($$GYPI_FILE, GYPI_CONTENTS, append)
|