From 3e25466967e3010805b6e9fd34b4bd88963189f3 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Wed, 16 Aug 2023 14:12:38 +0800
Subject: [PATCH] Add valgrind 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