From 1ecb40c26a03b1b41e76b0403cdb905a63f6d1ba Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 14 Aug 2023 22:58:02 +0800
Subject: [PATCH] Update build shell scripts for do_export

---
 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