depends: qt: cleanup build_cmds

This commit is contained in:
tobtoht 2023-06-30 18:40:43 +02:00
parent 632963a9e2
commit 22a7f925d3
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -309,17 +309,6 @@ define $(package)_build_cmds
export LD_LIBRARY_PATH="${build_prefix}/lib/:$(QT_LIBS_LIBS)" && \
env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH -u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH -u LIBRARY_PATH cmake --build . --parallel
endef
else ifeq ($(host_os),mingw32)
define $(package)_build_cmds
export LD_LIBRARY_PATH="${build_prefix}/lib/:$(QT_LIBS_LIBS)" && \
cmake --build . --parallel
endef
else ifneq (,$(findstring x86_64,$(HOST)))
define $(package)_build_cmds
export LD_LIBRARY_PATH="${build_prefix}/lib/:$(QT_LIBS_LIBS)" && \
cmake --build . --target syncqt_build && \
cmake --build . --parallel
endef
else
define $(package)_build_cmds
export LD_LIBRARY_PATH="${build_prefix}/lib/:$(QT_LIBS_LIBS)" && \