aboutsummaryrefslogtreecommitdiff
path: root/cad/klayout/files/patch-src-unit_tests-unit_tests.pro
diff options
context:
space:
mode:
Diffstat (limited to 'cad/klayout/files/patch-src-unit_tests-unit_tests.pro')
-rw-r--r--cad/klayout/files/patch-src-unit_tests-unit_tests.pro37
1 files changed, 37 insertions, 0 deletions
diff --git a/cad/klayout/files/patch-src-unit_tests-unit_tests.pro b/cad/klayout/files/patch-src-unit_tests-unit_tests.pro
new file mode 100644
index 000000000000..d16363b53b12
--- /dev/null
+++ b/cad/klayout/files/patch-src-unit_tests-unit_tests.pro
@@ -0,0 +1,37 @@
+--- src/unit_tests/unit_tests.pro.orig 2022-12-22 22:17:08 UTC
++++ src/unit_tests/unit_tests.pro
+@@ -11,7 +11,7 @@ include($$PWD/../with_all_libs.pri)
+ INCLUDEPATH += $$DOC_INC $$ICONS_INC
+ DEPENDPATH += $$DOC_INC $$ICONS_INC
+
+- LIBS += -lklayout_doc -lklayout_icons
++ LIBS += $$DESTDIR/libklayout_doc.so $$DESTDIR/libklayout_icons.so
+
+ }
+
+@@ -34,10 +34,10 @@ HEADERS += \
+ !win32 {
+ LIBS += -ldl
+ } else {
+- LIBS += -lshell32
++ LIBS += $$DESTDIR/libshell32.so
+ }
+
+-LIBS += -lklayout_gsi_test
++LIBS += $$DESTDIR/libklayout_gsi_test.so
+
+ !equals(HAVE_QT, "0") {
+
+@@ -46,10 +46,10 @@ LIBS += -lklayout_gsi_test
+
+ equals(HAVE_QTBINDINGS, "1") {
+ !equals(HAVE_QT_XML, "0") {
+- LIBS += -lklayout_QtXml
++ LIBS += $$DESTDIR/libklayout_QtXml.so
+ }
+ greaterThan(QT_MAJOR_VERSION, 4) {
+- LIBS += -lklayout_QtWidgets
++ LIBS += $$DESTDIR/libklayout_QtWidgets.so
+ }
+ }
+