diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/v8/Makefile.nonqt | 8 | ||||
-rw-r--r-- | tests/auto/declarative/v8/v8.pro | 9 |
2 files changed, 6 insertions, 11 deletions
diff --git a/tests/auto/declarative/v8/Makefile.nonqt b/tests/auto/declarative/v8/Makefile.nonqt index 20be72ea9b..7ab695ba6a 100644 --- a/tests/auto/declarative/v8/Makefile.nonqt +++ b/tests/auto/declarative/v8/Makefile.nonqt @@ -1,11 +1,11 @@ release-m32: - g++ -o v8test_release_m32 -m32 -O2 v8main.cpp v8test.cpp -L../../../../src/3rdparty/v8/ -lv8 + g++ -o v8test_release_m32 -m32 -O2 v8main.cpp v8test.cpp -lpthread -L../../../../src/3rdparty/v8/ -lv8 debug-m32: - g++ -o v8test_debug_m32 -m32 -g v8main.cpp v8test.cpp -L../../../../src/3rdparty/v8/ -lv8_g + g++ -o v8test_debug_m32 -m32 -g v8main.cpp v8test.cpp -lpthread -L../../../../src/3rdparty/v8/ -lv8_g release: - g++ -o v8test_release -O2 v8main.cpp v8test.cpp -L../../../../src/3rdparty/v8/ -lv8 + g++ -o v8test_release -O2 v8main.cpp v8test.cpp -lpthread -L../../../../src/3rdparty/v8/ -lv8 debug: - g++ -o v8test_debug -g v8main.cpp v8test.cpp -L../../../../src/3rdparty/v8/ -lv8_g + g++ -o v8test_debug -g v8main.cpp v8test.cpp -lpthread -L../../../../src/3rdparty/v8/ -lv8_g diff --git a/tests/auto/declarative/v8/v8.pro b/tests/auto/declarative/v8/v8.pro index 1030d174b6..bd6dfa9d5c 100644 --- a/tests/auto/declarative/v8/v8.pro +++ b/tests/auto/declarative/v8/v8.pro @@ -6,10 +6,5 @@ HEADERS += v8test.h CONFIG += parallel_test -LIBS += -L../../../../src/v8/ -macx:CONFIG(debug, debug|release) { - LIBS += -lv8_debug -} else { - LIBS += -lv8 -} - +QT += declarative +DEFINES += USING_V8_SHARED |