From 1f7bd9c353d3b34948d27b4ff0611c9570a3f5a7 Mon Sep 17 00:00:00 2001 From: chenxuan <1607772321@qq.com> Date: Fri, 27 Dec 2024 10:56:35 +0800 Subject: [PATCH] fix:update readme --- README.en.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.en.md b/README.en.md index 53412b1..a57ade2 100644 --- a/README.en.md +++ b/README.en.md @@ -95,7 +95,7 @@ int main() { add_definitions(-DCPPNET_OPENSSL) link_libraries(-lssl -lcrypto) ``` - 2. If you are using Makefile to compile, you need to add `-L./cppnet/lib` and `-lcppnet` to the compilation options. Here is a Makefile compilation demo. Of course, if it is an SSL compilation, you also need to add the lib library and **add the PPNET_OPENSSL macro**. + 2. If you are using Makefile to compile, you need to add `-L./cppnet/lib` and `-lcppnet` to the compilation options. Here is a Makefile compilation demo. Of course, if it is an SSL compilation, you also need to add the lib library and **add the CPPNET_OPENSSL macro**. ```Makefile all: libserver-makefile diff --git a/README.md b/README.md index a793f02..6fb7893 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ int main() { add_definitions(-DCPPNET_OPENSSL) link_libraries(-lssl -lcrypto) ``` - 2. 如果是使用 Makefile 编译, 需要在编译选项中添加 `-L./cppnet/lib` 和 `-lcppnet`, 下面是一个 Makefile 编译 demo, 当然如果是ssl的编译也是同理添加 lib 库 和 **添加 PPNET_OPENSSL 宏** + 2. 如果是使用 Makefile 编译, 需要在编译选项中添加 `-L./cppnet/lib` 和 `-lcppnet`, 下面是一个 Makefile 编译 demo, 当然如果是ssl的编译也是同理添加 lib 库 和 **添加 CPPNET_OPENSSL 宏** ```Makefile all: libserver-makefile