WIP: fixed installation part for pykl module, robustness of build system.

This commit is contained in:
Matthias Koefferlein
2018-06-06 21:27:18 +02:00
parent a20c3259bf
commit 17846d12dd
3 changed files with 14 additions and 2 deletions
+10
View File
@@ -24,7 +24,17 @@ win32 {
# because the library is called xyx0.dll.
CONFIG += skip_target_version_ext
lib_target.path = $$PREFIX/pykl
lib_target.files += $$DESTDIR_PYMOD/$${TARGET}.dll
INSTALLS = lib_target
} else {
QMAKE_POST_LINK += $(MKDIR) $$DESTDIR_PYMOD && $(COPY) $(DESTDIR)$(TARGET) $$DESTDIR_PYMOD/$${TARGET}.so
lib_target.path = $$PREFIX/pykl
lib_target.files += $$DESTDIR_PYMOD/$${TARGET}.so
INSTALLS = lib_target
}