File tree 2 files changed +3
-9
lines changed
2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ function addLibraryPath(env) {
17
17
18
18
env . LD_LIBRARY_PATH =
19
19
( env . LD_LIBRARY_PATH ? env . LD_LIBRARY_PATH + path . delimiter : '' ) +
20
- path . join ( kExecPath , 'lib.target' ) ;
20
+ kExecPath ;
21
21
// For AIX.
22
22
env . LIBPATH =
23
23
( env . LIBPATH ? env . LIBPATH + path . delimiter : '' ) +
24
- path . join ( kExecPath , 'lib.target' ) ;
24
+ kExecPath ;
25
25
// For Mac OSX.
26
26
env . DYLD_LIBRARY_PATH =
27
27
( env . DYLD_LIBRARY_PATH ? env . DYLD_LIBRARY_PATH + path . delimiter : '' ) +
@@ -34,10 +34,8 @@ function addLibraryPath(env) {
34
34
function getSharedLibPath ( ) {
35
35
if ( common . isWindows ) {
36
36
return path . join ( kExecPath , 'node.dll' ) ;
37
- } else if ( common . isOSX ) {
38
- return path . join ( kExecPath , `libnode.${ kShlibSuffix } ` ) ;
39
37
}
40
- return path . join ( kExecPath , 'lib.target' , `libnode.${ kShlibSuffix } ` ) ;
38
+ return path . join ( kExecPath , `libnode.${ kShlibSuffix } ` ) ;
41
39
}
42
40
43
41
// Get the binary path of stack frames.
Original file line number Diff line number Diff line change @@ -132,10 +132,6 @@ def files(action):
132
132
output_file += '.dll'
133
133
else :
134
134
output_file = 'lib' + output_file + '.' + variables .get ('shlib_suffix' )
135
- # GYP will output to lib.target except on OS X, this is hardcoded
136
- # in its source - see the _InstallableTargetInstallPath function.
137
- if sys .platform != 'darwin' :
138
- output_prefix += 'lib.target/'
139
135
140
136
if 'false' == variables .get ('node_shared' ):
141
137
action ([output_prefix + output_file ], 'bin/' + output_file )
You can’t perform that action at this time.
0 commit comments