File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,16 @@ def build(bld):
29
29
30
30
libs = []
31
31
32
+ install_path = None if bld .env .BUILD_SDK else bld .env .LIBDIR
33
+
32
34
bld .shlib (
33
35
source = source ,
34
36
target = PROJECT_NAME ,
35
37
name = PROJECT_NAME ,
36
38
features = 'c cxx' ,
37
39
includes = includes ,
38
40
defines = defines ,
39
- install_path = bld . env . LIBDIR ,
41
+ install_path = install_path ,
40
42
use = libs ,
41
43
subsystem = bld .env .MSVC_SUBSYSTEM ,
42
44
idx = bld .get_taskgen_count ()
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ def build(bld):
83
83
else :
84
84
libs = ['DL' , 'M' , 'LOG' ]
85
85
86
- install_path = bld .env .LIBDIR
86
+ install_path = None if bld . env . BUILD_SDK else bld .env .LIBDIR
87
87
88
88
bld .shlib (
89
89
source = source ,
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def build(bld):
55
55
elif bld .env .DEST_OS == 'darwin' :
56
56
linkflags += ['-framework' , 'CoreServices' ]
57
57
58
- install_path = bld .env .LIBDIR
58
+ install_path = None if bld . env . BUILD_SDK else bld .env .LIBDIR
59
59
60
60
bld .shlib (
61
61
source = source ,
You can’t perform that action at this time.
0 commit comments