File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -109,11 +109,9 @@ add_swift_host_library(swiftBasic STATIC
109
109
target_include_directories (swiftBasic PRIVATE
110
110
${UUID_INCLUDE} )
111
111
112
- if (NOT SWIFT_BUILD_ONLY_SYNTAXPARSERLIB )
113
- target_link_libraries (swiftBasic PRIVATE
114
- swiftDemangling
115
- ${UUID_LIBRARIES} )
116
- endif ()
112
+ target_link_libraries (swiftBasic PRIVATE
113
+ swiftDemangling
114
+ ${UUID_LIBRARIES} )
117
115
118
116
message (STATUS "Swift version: ${SWIFT_VERSION} " )
119
117
message (STATUS "Swift vendor: ${SWIFT_VENDOR} " )
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ def main():
234
234
option ('--install-symroot' , store_path ,
235
235
help = 'the path to install debug symbols into' )
236
236
option ('--install-destdir' , store_path ,
237
- help = 'the path to use as the filesystem root for the installation' )
237
+ help = 'the path to use as the filesystem root for the installation (default = \' $(build_dir)/install \' ) ' )
238
238
option ('--install-prefix' , store ,
239
239
default = default_install_prefix ,
240
240
help = 'the install prefix to use (default = %s)' % default_install_prefix )
@@ -247,6 +247,9 @@ def main():
247
247
parser = optbuilder .build ()
248
248
args = parser .parse_args ()
249
249
250
+ if not args .install_destdir :
251
+ args .install_destdir = os .path .join (args .build_dir , 'install' )
252
+
250
253
if isDarwin :
251
254
architectures = args .architectures .split (" " )
252
255
architectures = [arch for arch in architectures if arch != platform .machine () and arch != "" ]
You can’t perform that action at this time.
0 commit comments