b883cee471
Since commit cd1dff75
, we use QMAKE_LFLAGS_CONSOLE when linking DLLs that
are built with CONFIG+=console. Thus, we must not pass options that are
specific to linking executables.
[ChangeLog][qmake] WinCE makespecs must not add /ENTRY: to
QMAKE_LFLAGS_CONSOLE and more. The flag is hard-coded in console.prf now.
This is a side effect of making it possible to specify a subsystem for
DLLs.
Change-Id: Ib481fd45b12140f9f05bf123db7152a3ddf0fa04
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
7 lines
239 B
Plaintext
7 lines
239 B
Plaintext
CONFIG -= windows
|
|
QMAKE_LFLAGS += $$replace(QMAKE_LFLAGS_CONSOLE, @QMAKE_SUBSYSTEM_SUFFIX@, $$QMAKE_SUBSYSTEM_SUFFIX)
|
|
contains(TEMPLATE, ".*app") {
|
|
wince: QMAKE_LFLAGS += /ENTRY:mainACRTStartup
|
|
QMAKE_LFLAGS += $$QMAKE_LFLAGS_EXE
|
|
}
|