Skip to content

Commit

Permalink
Fix include path for yencode mod
Browse files Browse the repository at this point in the history
  • Loading branch information
animetosho committed Jan 23, 2024
1 parent b2f2e37 commit e7828f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexe/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ nexe.compile({
var data = await compiler.readFileAsync('deps/yencode/src/yencode.cc');
data = data.contents.toString();
data = data.replace(/#if NODE_VERSION_AT_LEAST\(10, 7, 0\).+?NODE_MODULE_INIT.+?#endif/s,
`#include "../../src/node_internals.h"
`#include "../../../src/node_internals.h"
#include <uv.h>
static uv_once_t init_once = UV_ONCE_INIT;
void yencode_init(Local<Object> exports, Local<Value> module, Local<Context> context, void* priv)`
Expand Down

0 comments on commit e7828f2

Please sign in to comment.