mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
qt: make $(HOST_DIR)/usr/mkspecs a symlink to $(STAGING_DIR)/usr/mkspecs
In fact, not only qt can install stuff in $(STAGING_DIR)/usr/mkspecs, but also libraries that wish to integrate with qmake, such as qwt. However, qmake and al. will look inside $(HOST_DIR)/usr/mkspecs, so the easiest solution is to have a symbolic link between the two directories, instead of copying things around. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
7a4e44fc90
commit
755a51f327
@ -583,8 +583,7 @@ define QT_INSTALL_STAGING_CMDS
|
|||||||
$(MAKE) -C $(@D) install
|
$(MAKE) -C $(@D) install
|
||||||
mkdir -p $(HOST_DIR)/usr/bin
|
mkdir -p $(HOST_DIR)/usr/bin
|
||||||
mv $(addprefix $(STAGING_DIR)/usr/bin/,$(QT_HOST_PROGRAMS)) $(HOST_DIR)/usr/bin
|
mv $(addprefix $(STAGING_DIR)/usr/bin/,$(QT_HOST_PROGRAMS)) $(HOST_DIR)/usr/bin
|
||||||
rm -rf $(HOST_DIR)/usr/mkspecs
|
ln -sf $(STAGING_DIR)/usr/mkspecs $(HOST_DIR)/usr/mkspecs
|
||||||
mv $(STAGING_DIR)/usr/mkspecs $(HOST_DIR)/usr
|
|
||||||
$(QT_INSTALL_QT_CONF)
|
$(QT_INSTALL_QT_CONF)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user