Skip to content

Commit

Permalink
fix:update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxuan520 committed Dec 27, 2024
1 parent c22c453 commit 1f7bd9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1f7bd9c

Please sign in to comment.