Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/node_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ int wmain(int argc, wchar_t* wargv[]) {
#include <signal.h>
#endif

#if defined(__MVS__)
#include "zos-setlibpath.h"

// z/OS linker doesn't support rpath function, so we set LIBPATH in the source
// so libnode DLL can load.
__setlibpath libpath;
#endif

namespace node {
namespace per_process {
extern bool linux_at_secure;
Expand Down