-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support external libnanomsg better for --use_system_libnanomsg=true
nanomsg headers are installed in /usr/include/nanomsg. However, depending on the version, nanomsg.pc provides either -I/usr/include (useless) or -I/usr/include/nanomsg. When using --use_system_libnanomsg=true, pass -DSYSTEM_NANOMSG=1 to the compiler. Keep using the original includes when SYSTEM_NANOMSG is not defined. Use #include <nanomsg/...> when SYSTEM_NANOMSG is defined because it works regardless of the nanomsg version in the system. Signed-off-by: Zoltán Böszörményi <[email protected]>
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters