Eric 9c3c2dd82f
fix(build): compilation on macos when including nim-nat-traversal
- removes the `VERSION` rename to `VERSION_temp` in the Makefile
- instead, relies on `-iqoute` to include the `nim-nat-traversal/vendor/libnatpmp-upstream` directory in the search paths. `-iquote` will match the `vendor/libnatpmp-upstream/VERSION` file for `#include "version"` and not `#include <version>`, the latter being what is included by the macos sdk and was causing issues with `-I`. The [gcc 14.2 docs](https://gcc.gnu.org/onlinedocs/gcc-14.2.0/cpp/Invocation.html#index-I) describe how `-iquote` alleviates this issue:
> Directories specified with -iquote apply only to the quote form of the directive, #include "file". Directories specified with -I, -isystem, or -idirafter apply to lookup for both the #include "file" and #include <file> directives.

For more info, please see https://github.com/status-im/nim-nat-traversal/pull/34.
2025-01-22 14:39:46 +11:00
..
2023-08-01 16:47:57 -07:00
2022-04-13 10:32:35 -06:00
2025-01-10 14:12:37 +00:00
2023-08-01 16:47:57 -07:00
2025-01-10 14:12:37 +00:00
2025-01-21 20:54:46 +00:00
2025-01-10 14:12:37 +00:00
2023-08-01 16:47:57 -07:00