source: webkit/trunk/Source/JavaScriptCore/jsc.pro@ 89887

Last change on this file since 89887 was 82104, checked in by [email protected], 14 years ago

2011-03-28 Andras Becsi <[email protected]>

Reviewed by Csaba Osztrogonác.

[Qt] Fix the linking of jsc with MinGW after r81963.

  • jsc.pro: add -l and remove the lib suffix.
File size: 838 bytes
Line 
1TEMPLATE = app
2TARGET = jsc
3DESTDIR = .
4SOURCES = jsc.cpp
5QT -= gui
6CONFIG -= app_bundle
7CONFIG += building-libs
8win32-*: CONFIG += console
9win32-msvc*: CONFIG += exceptions_off stl_off
10
11isEmpty(OUTPUT_DIR): OUTPUT_DIR= ..
12include($$PWD/../WebKit.pri)
13
14unix:!mac:!symbian:CONFIG += link_pkgconfig
15
16QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
17
18OBJECTS_DIR_WTR = $$OBJECTS_DIR$${QMAKE_DIR_SEP}
19include($$PWD/JavaScriptCore.pri)
20prependJavaScriptCoreLib(.)
21
22symbian {
23 TARGET.CAPABILITY = ReadUserData WriteUserData NetworkServices
24}
25
26mac {
27 LIBS_PRIVATE += -framework AppKit
28}
29
30win* {
31 LIBS += -ladvapi32
32}
33
34wince* {
35 LIBS += mmtimer.lib
36}
37
38# Prevent warnings about difference in visibility on Mac OS X
39contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
40unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
Note: See TracBrowser for help on using the repository browser.