aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-15 20:33:35 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-15 20:33:35 -0700
commitdecee7616f4594aec188881c4b28fbf26613983c (patch)
tree30da7e6c2d0af2248994ee68381fbc6b793ec56e
parentdeafd3d0d42fb8d7ddf2b06cde2d7c7ee8bc7144 (diff)
downloadbun-decee7616f4594aec188881c4b28fbf26613983c.tar.gz
bun-decee7616f4594aec188881c4b28fbf26613983c.tar.zst
bun-decee7616f4594aec188881c4b28fbf26613983c.zip
Update Makefile
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 32d1c3715..b1af1b527 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,8 @@ LIBCRYPTO_STATIC_LIB = /usr/lib/x86_64-linux-gnu/lib/libcrypto.a
LIBICONV_PATH = $(DEPS_DIR)/libiconv.a
endif
+build-iconv-linux:
+ cd src/deps/libiconv/libiconv-1.16; ./configure --enable-static; make -j 12; cp ./lib/.libs/libiconv.a $(DEPS_DIR)/libiconv.a
BUN_TMP_DIR := /tmp/make-bun
@@ -167,7 +169,6 @@ BUN_LLD_FLAGS = $(OBJ_FILES) \
src/deps/picohttpparser.o \
$(LIBICONV_PATH) \
$(CLANG_FLAGS) \
- -liconv \
ifeq ($(OS_NAME), linux)
BUN_LLD_FLAGS += -lstdc++fs \