summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-29 23:44:44 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-29 23:44:44 +0000
commit8fbd1c96402699faf8f4fc2335fc295caa78a984 (patch)
tree0f078ae0a3100d6f0d46eda5333f686971d1aa3d
parent9647876991d1674fef9de516422f5a54b76dc034 (diff)
downloadbuildroot-novena-8fbd1c96402699faf8f4fc2335fc295caa78a984.tar.gz
buildroot-novena-8fbd1c96402699faf8f4fc2335fc295caa78a984.zip
Don't use a shared lib for file
-rw-r--r--make/file.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/file.mk b/make/file.mk
index c658316e3..01821360d 100644
--- a/make/file.mk
+++ b/make/file.mk
@@ -40,12 +40,13 @@ $(FILE_DIR)/.configured: $(FILE_DIR)/.unpacked
--infodir=/usr/info \
$(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
+ --enable-static \
--disable-fsect-man5 \
);
touch $(FILE_DIR)/.configured
$(FILE_DIR)/$(FILE_BINARY): $(FILE_DIR)/.configured
- $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(FILE_DIR)
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) LDFLAGS="-static" -C $(FILE_DIR)
$(TARGET_DIR)/$(FILE_TARGET_BINARY): $(FILE_DIR)/$(FILE_BINARY)
$(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) -C $(FILE_DIR) install