Don't use a shared lib for file
authorEric Andersen <andersen@codepoet.org>
Thu, 29 Jul 2004 23:44:44 +0000 (23:44 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 29 Jul 2004 23:44:44 +0000 (23:44 -0000)
make/file.mk

index c658316e37dac8091e9d3c242809e1fc922c525c..01821360d814a386de3519b82b3371018865c6f1 100644 (file)
@@ -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