Skip to content

Commit f904477

Browse files
att
1 parent 6c2271d commit f904477

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/developing_dynamic_bins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ CwebHttpResponse *request_handler(CwebHttpRequest *request, int argc, char *argv
2525
Compile your library as `.dll` (Windows) or `.so` (Linux) using a command like:
2626
- **Linux**:
2727
```bash
28-
gcc -shared -o mylib.so mylib.c -fPIC
28+
gcc -shared -fPIC -o mylib.so mylib.c
2929
```
3030
- **mingw**:
3131
```bash
32-
i686-w64-mingw32-gcc -shared -o mylib.dll mylib.c -lws2_32
32+
i686-w64-mingw32-gcc -fPIC -shared -o mylib.dll mylib.c -lws2_32
3333
```
3434

3535

0 commit comments

Comments
 (0)