aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-04-03 16:38:37 +0000
committerEric Andersen <andersen@codepoet.org>2001-04-03 16:38:37 +0000
commitc0c502e172833db872e9760e96dab55244537100 (patch)
tree56adaeba8b892a37168c08d2796564de770e37cb
parentc4cef5ab063d7abb604d48610424566202dcade0 (diff)
downloadbusybox-w32-c0c502e172833db872e9760e96dab55244537100.tar.gz
busybox-w32-c0c502e172833db872e9760e96dab55244537100.tar.bz2
busybox-w32-c0c502e172833db872e9760e96dab55244537100.zip
Fix for bug 1143 from Larry Doolittle
-Erik
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 231073a96..b57d801d5 100644
--- a/Makefile
+++ b/Makefile
@@ -224,7 +224,6 @@ else
224endif 224endif
225 225
226LIBBB = libbb 226LIBBB = libbb
227LIBBB_DIR = $(BB_SRC_DIR:=/)$(LIBBB)
228LIBBB_LIB = libbb.a 227LIBBB_LIB = libbb.a
229LIBBB_CSRC= ask_confirmation.c check_wildcard_match.c chomp.c copy_file.c \ 228LIBBB_CSRC= ask_confirmation.c check_wildcard_match.c chomp.c copy_file.c \
230copy_file_chunk.c create_path.c device_open.c error_msg.c \ 229copy_file_chunk.c create_path.c device_open.c error_msg.c \
@@ -238,7 +237,11 @@ syslog_msg_with_name.c time_string.c trim.c vdprintf.c wfopen.c xfuncs.c \
238xregcomp.c error_msg_and_die.c perror_msg.c perror_msg_and_die.c \ 237xregcomp.c error_msg_and_die.c perror_msg.c perror_msg_and_die.c \
239verror_msg.c vperror_msg.c mtab.c mtab_file.c 238verror_msg.c vperror_msg.c mtab.c mtab_file.c
240LIBBB_OBJS=$(patsubst %.c,$(LIBBB)/%.o, $(LIBBB_CSRC)) 239LIBBB_OBJS=$(patsubst %.c,$(LIBBB)/%.o, $(LIBBB_CSRC))
241LIBBB_CFLAGS = -I$(LIBBB_DIR) 240LIBBB_CFLAGS = -I$(LIBBB)
241ifneq ($(strip $(BB_SRC_DIR)),)
242 LIBBB_CFLAGS += -I$(BB_SRC_DIR)/$(LIBBB)
243endif
244
242 245
243# Put user-supplied flags at the end, where they 246# Put user-supplied flags at the end, where they
244# have a chance of winning. 247# have a chance of winning.