mirror of https://git.wownero.com/dsc/mxe.git
qtservice: build shared lib
This commit is contained in:
parent
ef9867b11d
commit
d40bafda7a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue