Skip to content

Commit

Permalink
build: Restore qt package compatibility with CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Jun 13, 2022
1 parent 23c1f36 commit 4e100ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions depends/packages/qt.mk
Original file line number Diff line number Diff line change
Expand Up @@ -274,12 +274,12 @@ define $(package)_build_cmds
endef

define $(package)_stage_cmds
$(MAKE) -C qtbase/src INSTALL_ROOT=$($(package)_staging_dir) $(addsuffix -install_subtargets,$(addprefix sub-,$($(package)_qt_libs))) && \
$(MAKE) -C qttools/src/linguist INSTALL_ROOT=$($(package)_staging_dir) $(addsuffix -install_subtargets,$(addprefix sub-,$($(package)_linguist_tools))) && \
$(MAKE) -C qtbase INSTALL_ROOT=$($(package)_staging_dir) install && \
$(MAKE) -C qttools INSTALL_ROOT=$($(package)_staging_dir) install && \
$(MAKE) -C qttranslations INSTALL_ROOT=$($(package)_staging_dir) install_subtargets
endef

define $(package)_postprocess_cmds
rm -rf native/mkspecs/ native/lib/ lib/cmake/ && \
rm -rf doc/ native/lib/ && \
rm -f lib/lib*.la
endef

0 comments on commit 4e100ca

Please sign in to comment.