diff --git a/eventmesh-sdks/eventmesh-sdk-c/README.md b/eventmesh-sdks/eventmesh-sdk-c/README.md index 95313b77a8..25a4ddabea 100644 --- a/eventmesh-sdks/eventmesh-sdk-c/README.md +++ b/eventmesh-sdks/eventmesh-sdk-c/README.md @@ -7,10 +7,14 @@ ### Build 1. **build lib** ``` +git submodule init +git submodule update make ``` 2. **build example** ``` +git submodule init +git submodule update make demo ``` \ No newline at end of file diff --git a/eventmesh-sdks/eventmesh-sdk-c/makefile b/eventmesh-sdks/eventmesh-sdk-c/makefile index 6bcf58a5b3..116182478f 100644 --- a/eventmesh-sdks/eventmesh-sdk-c/makefile +++ b/eventmesh-sdks/eventmesh-sdk-c/makefile @@ -53,7 +53,7 @@ all:$(TARGET) $(LIB_A_CURL): @echo @echo "Building $^ ==> $@..." - @cd $(DIR_CURL) && ./configure --without-ssl + @cd $(DIR_CURL) && autoreconf -fi && ./configure --without-ssl @cd $(DIR_CURL) && make @cp -f $(DIR_CURL)/./lib/.libs/libcurl.a $@