Skip to content
Snippets Groups Projects
Commit 5f0227be authored by Julien Puydt's avatar Julien Puydt
Browse files

Add patch to find system libs (Closes: #930268)

parent 7d2f7c2e
No related branches found
No related tags found
No related merge requests found
node-typescript (3.5.2-1) UNRELEASED; urgency=medium
* New upstream release.
* Add patch to find system-installed libs (Closes: #930268).
-- Julien Puydt <jpuydt@debian.org> Mon, 08 Jul 2019 10:41:59 +0200
......
Author: Julien Puydt
Description: Make sure system-installed libs are found
Forwarded: no
--- node-typescript.orig/lib/tsc.js
+++ node-typescript/lib/tsc.js
@@ -71927,7 +71927,7 @@
}
}
function getDefaultLibLocation() {
- return ts.getDirectoryPath(ts.normalizePath(system.getExecutingFilePath()));
+ return "/usr/lib/nodejs";
}
var newLine = ts.getNewLineCharacter(options, function () { return system.newLine; });
var realpath = system.realpath && (function (path) { return system.realpath(path); });
debian_library_path.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment