summaryrefslogtreecommitdiffstats
path: root/make/slang.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-25 07:55:15 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-25 07:55:15 +0000
commit4995f2104f61e6fba59db8799c304b89ac7bb382 (patch)
tree1ba504a022bbbf0f5c7823e4717d25eb9a2c2c38 /make/slang.mk
parent26a203ac338b8abe6fa0cc8cbe7a1c591a440910 (diff)
downloadbuildroot-novena-4995f2104f61e6fba59db8799c304b89ac7bb382.tar.gz
buildroot-novena-4995f2104f61e6fba59db8799c304b89ac7bb382.zip
Update newt and slang targets
Diffstat (limited to 'make/slang.mk')
-rw-r--r--make/slang.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/make/slang.mk b/make/slang.mk
index 6dc1b287b..a63f2eb46 100644
--- a/make/slang.mk
+++ b/make/slang.mk
@@ -9,7 +9,7 @@ SLANG_DIR=$(BUILD_DIR)/slang-1.4.5-mini
ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
SLANG_CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
endif
-SLANG_CFLAGS+="-fPIC"
+SLANG_CFLAGS+=-fPIC
$(DL_DIR)/$(SLANG_SOURCE):
$(WGET) -P $(DL_DIR) $(SLANG_SITE)/$(SLANG_SOURCE)
@@ -25,6 +25,7 @@ $(STAGING_DIR)/lib/libslang.so.1: $(SLANG_DIR)/libslang.so
cp -a $(SLANG_DIR)/libslang.a $(STAGING_DIR)/lib;
cp -a $(SLANG_DIR)/libslang.so $(STAGING_DIR)/lib;
cp -a $(SLANG_DIR)/slang.h $(STAGING_DIR)/include;
+ cp -a $(SLANG_DIR)/slcurses.h $(STAGING_DIR)/include;
(cd $(STAGING_DIR)/lib; ln -fs libslang.so libslang.so.1);
touch -c $(STAGING_DIR)/lib/libslang.so.1
@@ -33,7 +34,7 @@ $(TARGET_DIR)/lib/libslang.so.1: $(STAGING_DIR)/lib/libslang.so.1
-$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libslang.so*
touch -c $(TARGET_DIR)/lib/libslang.so.1
-slang: uclibc $(TARGET_DIR)/lib/libslang.so.1
+slang: uclibc $(STAGING_DIR)/lib/libslang.so.1 $(TARGET_DIR)/lib/libslang.so.1
slang-source: $(DL_DIR)/$(SLANG_SOURCE)