qtservice: build shared lib

This commit is contained in:
Mark Brand 2018-03-05 17:12:07 +01:00 committed by Tony Theodore
parent ef9867b11d
commit d40bafda7a
1 changed files with 6 additions and 2 deletions

View File

@ -17,13 +17,17 @@ endef
define $(PKG)_BUILD
cd '$(1)/qtservice/buildlib' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' \
'CONFIG += static' \
'-after' \
'CONFIG -= dll debug_and_release build_all' \
'CONFIG += create_prl' \
'DESTDIR =' \
'target.path = $$$$[QT_INSTALL_LIBS]' \
'DLLDESTDIR =' \
'headers.path = $$$$[QT_INSTALL_HEADERS]' \
'headers.files += ../src/qtservice.h' \
'win32:dlltarget.path = $$$$[QT_INSTALL_BINS]' \
'target.path = $$$$[QT_INSTALL_LIBS]' \
'!static:win32:target.CONFIG = no_dll' \
'win32:INSTALLS += dlltarget' \
'INSTALLS += target headers'
$(MAKE) -C '$(1)/qtservice/buildlib' -j '$(JOBS)'
$(MAKE) -C '$(1)/qtservice/buildlib' -j 1 install