diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-11-17 16:21:29 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-11-17 16:37:20 +0100 |
commit | 0ce248ed3636af6b24d76541c583b4d33a5f7093 (patch) | |
tree | ff0e4ada7b78ce4d9e67ae0947dfe61e5d24686b /tests/auto/corelib | |
parent | 295b1111afaa274bd9976ac057fcae1a072f8cfa (diff) |
Explicitly use libc++ when creating machtest stubs
Change-Id: I02f8b9b2742596974501f2a170e27be7a707ebd6
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r-- | tests/auto/corelib/plugin/qpluginloader/machtest/machtest_fat.pro | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/corelib/plugin/qpluginloader/machtest/machtest_fat.pro b/tests/auto/corelib/plugin/qpluginloader/machtest/machtest_fat.pro index 594c352b44..57c6654984 100644 --- a/tests/auto/corelib/plugin/qpluginloader/machtest/machtest_fat.pro +++ b/tests/auto/corelib/plugin/qpluginloader/machtest/machtest_fat.pro @@ -19,12 +19,12 @@ fat_no_x86_64.target = good.fat.no-x86_64.dylib fat_no_x86_64.commands = lipo -create -output $@ -arch arm64 good.arm64.dylib fat_no_x86_64.depends += good.arm64.dylib -sdk_flags = -L$$system(xcrun --show-sdk-path)/usr/lib/ +stub_flags = -L$$system(xcrun --show-sdk-path)/usr/lib/ -stdlib=libc++ -stub_arm64.commands = $$QMAKE_CXX $$sdk_flags -shared -arch arm64 -o stub.arm64.dylib $$PWD/stub.cpp +stub_arm64.commands = $$QMAKE_CXX $$stub_flags -shared -arch arm64 -o stub.arm64.dylib $$PWD/stub.cpp stub_arm64.depends += $$PWD/stub.cpp -stub_x86_64.commands = $$QMAKE_CXX $$sdk_flags -shared -arch x86_64 -o stub.x86_64.dylib $$PWD/stub.cpp +stub_x86_64.commands = $$QMAKE_CXX $$stub_flags -shared -arch x86_64 -o stub.x86_64.dylib $$PWD/stub.cpp stub_x86_64.depends += $$PWD/stub.cpp fat_stub_arm64.target = good.fat.stub-arm64.dylib |