summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6a28b2824d..d1d6ab33e6 100644
--- a/Makefile
+++ b/Makefile
@@ -583,9 +583,11 @@ endif
mkdir -p $(TARGET_DIR)/var/cache/ldconfig
if [ -x "$(TARGET_CROSS)ldconfig" ]; \
then \
- $(TARGET_CROSS)ldconfig -r $(TARGET_DIR); \
+ $(TARGET_CROSS)ldconfig -r $(TARGET_DIR) \
+ -f $(TARGET_DIR)/etc/ld.so.conf; \
else \
- /sbin/ldconfig -r $(TARGET_DIR); \
+ /sbin/ldconfig -r $(TARGET_DIR) \
+ -f $(TARGET_DIR)/etc/ld.so.conf; \
fi
( \
echo "NAME=Buildroot"; \
OpenPOWER on IntegriCloud