079a87fec1
qtAddModule() skips adding standard library paths to LIBS. however, as processPrlFiles() didn't know anything about that, it would not find the prl files of qt libraries in these paths. so centralize the definition of these default paths (we should actually ask the linker for them) and use it in both places. do the same for the include paths for symmetry. Change-Id: I7e3692dc2d1c2d0c97a9151d15887b1263de137a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
20 lines
468 B
Plaintext
20 lines
468 B
Plaintext
#
|
|
# qmake configuration for common unix
|
|
#
|
|
|
|
QMAKE_LEX = flex
|
|
QMAKE_LEXFLAGS +=
|
|
QMAKE_YACC = yacc
|
|
QMAKE_YACCFLAGS += -d
|
|
QMAKE_YACCFLAGS_MANGLE += -p $base -b $base
|
|
QMAKE_YACC_HEADER = $base.tab.h
|
|
QMAKE_YACC_SOURCE = $base.tab.c
|
|
QMAKE_PREFIX_SHLIB = lib
|
|
QMAKE_PREFIX_STATICLIB = lib
|
|
QMAKE_EXTENSION_STATICLIB = a
|
|
|
|
QMAKE_DEFAULT_INCDIRS = /usr/include /usr/local/include
|
|
QMAKE_DEFAULT_LIBDIRS = /usr/lib /usr/local/lib
|
|
|
|
include(shell-unix.conf)
|