From 1656f8bb6b38c41283cbbbf66835e1e8212713a4 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 15 Aug 2023 16:34:25 +0800
Subject: [PATCH] Add Busybox build shell script
---
cjson/build.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/cjson/build.sh b/cjson/build.sh
index 27cec2d..e12d30f 100755
--- a/cjson/build.sh
+++ b/cjson/build.sh
@@ -154,6 +154,9 @@
function do_build()
{
cd $LIB_NAME
+
+ do_export
+
sed -i "s|^CC =.*|CC = ${CROSS_COMPILE}gcc -std=c89|" Makefile
make && make PREFIX=$PREFIX_PATH install
@@ -172,8 +175,6 @@
fi
do_fetch
-
-do_export
do_build
--
Gitblit v1.9.1