]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/qt5-base/patches/winmain_pro.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / qt5-base / patches / winmain_pro.patch
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/qt5-base/patches/winmain_pro.patch b/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/qt5-base/patches/winmain_pro.patch
new file mode 100644 (file)
index 0000000..66460cc
--- /dev/null
@@ -0,0 +1,27 @@
+diff --git a/src/winmain/winmain.pro b/src/winmain/winmain.pro
+index 9cb6ab0c..52c7876e 100644
+--- a/src/winmain/winmain.pro
++++ b/src/winmain/winmain.pro
+@@ -3,7 +3,7 @@
+ TEMPLATE = lib
+ TARGET = qtmain
+-DESTDIR = $$QT.core.libs
++DESTDIR = $$QT.core.libs/manual-link
+ CONFIG += static
+ QT = core
+@@ -27,7 +27,12 @@ winrt {
+ }
+ load(qt_installs)
+-
++!qt_no_install_library {
++    host_build: \
++        target.path = $$[QT_HOST_LIBS]/manual-link
++    else: \
++        target.path = $$[QT_INSTALL_LIBS]/manual-link
++}
+ TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end
+ load(qt_targets)