Skip to content

Commit

Permalink
Suggest /usr/local/include instead of /usr/include, closes #133
Browse files Browse the repository at this point in the history
  • Loading branch information
David Peter committed Nov 2, 2023
1 parent 267e568 commit dce8011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ The code above produces this output ([try it yourself](https://repl.it/@sharkdp/
To make this practical, the `dbg.h` header should be readily available from all kinds of different
places and in all kinds of environments. The quick & dirty way is to actually copy the header file
to `/usr/include` or to clone the repository and symlink `dbg.h` to `/usr/include/dbg.h`.
to `/usr/local/include` or to clone the repository and symlink `dbg.h` to `/usr/local/include/dbg.h`.
``` bash
git clone https://github.com/sharkdp/dbg-macro
sudo ln -s $(readlink -f dbg-macro/dbg.h) /usr/include/dbg.h
sudo ln -s $(readlink -f dbg-macro/dbg.h) /usr/local/include/dbg.h
```
If you don't want to make untracked changes to your filesystem, check below if there is a package for
your operating system or package manager.
Expand Down

0 comments on commit dce8011

Please sign in to comment.