Skip to content

Commit

Permalink
Updates readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
a.stecher committed Oct 7, 2024
1 parent ee3ada3 commit 0983c4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions watcher-c/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ If you want to compile the library yourself you can follow the following example

First check out a branch or release, here we'll use the 'next' branch.
You can then compile the library with meson or a tool of your choice,
we will use c++.
we will use `c++`.

```bash
curl -L https://github.com/e-dant/watcher/archive/refs/heads/next.tar.gz | tar xz
cd watcher-next/watcher-c
c++ -o libwatcher-c.so ./src/watcher-c.cpp -I ./include -I ../include -std=c++17 -fPIC -shared
```

This gives us a `libwatcher-c.so` library that we can now install on our system.
This gives us a `libwatcher-c.so` library that you can now install on your system.
In most container based environments you can just copy the library like this:

```bash
Expand Down

0 comments on commit 0983c4a

Please sign in to comment.