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):
2929
3030 libs = []
3131
32+ install_path = None if bld .env .BUILD_SDK else bld .env .LIBDIR
33+
3234 bld .shlib (
3335 source = source ,
3436 target = PROJECT_NAME ,
3537 name = PROJECT_NAME ,
3638 features = 'c cxx' ,
3739 includes = includes ,
3840 defines = defines ,
39- install_path = bld . env . LIBDIR ,
41+ install_path = install_path ,
4042 use = libs ,
4143 subsystem = bld .env .MSVC_SUBSYSTEM ,
4244 idx = bld .get_taskgen_count ()
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ def build(bld):
8383 else :
8484 libs = ['DL' , 'M' , 'LOG' ]
8585
86- install_path = bld .env .LIBDIR
86+ install_path = None if bld . env . BUILD_SDK else bld .env .LIBDIR
8787
8888 bld .shlib (
8989 source = source ,
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def build(bld):
5555 elif bld .env .DEST_OS == 'darwin' :
5656 linkflags += ['-framework' , 'CoreServices' ]
5757
58- install_path = bld .env .LIBDIR
58+ install_path = None if bld . env . BUILD_SDK else bld .env .LIBDIR
5959
6060 bld .shlib (
6161 source = source ,
You can’t perform that action at this time.
0 commit comments