mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
install ldconfig stuff only if it was built, fix for systems without shared libraries support (nios2)
This commit is contained in:
parent
94c236419b
commit
06510069f8
@ -450,11 +450,15 @@ endif
|
|||||||
PREFIX=$(STAGING_DIR) \
|
PREFIX=$(STAGING_DIR) \
|
||||||
HOSTCC="$(HOSTCC)" \
|
HOSTCC="$(HOSTCC)" \
|
||||||
hostutils
|
hostutils
|
||||||
install -c $(UCLIBC_DIR)/utils/ldd.host $(STAGING_DIR)/usr/bin/ldd
|
if [ -f $(UCLIBC_DIR)/utils/ldd.host ]; then \
|
||||||
ln -sf ldd $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-ldd
|
install -c $(UCLIBC_DIR)/utils/ldd.host $(STAGING_DIR)/usr/bin/ldd; \
|
||||||
install -c $(UCLIBC_DIR)/utils/ldconfig.host $(STAGING_DIR)/usr/bin/ldconfig
|
ln -sf ldd $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-ldd; \
|
||||||
ln -sf ldconfig $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-ldconfig
|
fi
|
||||||
ln -sf ldconfig $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-ldconfig
|
if [ -f $(UCLIBC_DIR)/utils/ldconfig.host ]; then \
|
||||||
|
install -c $(UCLIBC_DIR)/utils/ldconfig.host $(STAGING_DIR)/usr/bin/ldconfig; \
|
||||||
|
ln -sf ldconfig $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-ldconfig; \
|
||||||
|
ln -sf ldconfig $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-ldconfig; \
|
||||||
|
fi
|
||||||
touch -c $@
|
touch -c $@
|
||||||
|
|
||||||
ifneq ($(TARGET_DIR),)
|
ifneq ($(TARGET_DIR),)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user