File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ HBIN$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/bin
380
380
ifeq ($$(CFG_WINDOWSY_$(3 ) ) ,1)
381
381
# On Windows we always store host runtime libraries in the 'bin' directory because
382
382
# there's no rpath. Target libraries go under $CFG_LIBDIR_RELATIVE (usually 'lib').
383
- HLIB $(1)_H_$(3) = $$( HROOT $( 1 ) _H_ $( 3 ) ) / bin
383
+ HLIB_RELATIVE $(1)_H_$(3) = bin
384
384
TROOT$(1)_T_$(2)_H_$(3) = $$(HROOT$(1 ) _H_$(3 ) ) /$$(CFG_LIBDIR_RELATIVE ) /rustlib/$(2 )
385
385
# Remove the next 3 lines after a snapshot
386
386
ifeq ($(1 ) ,0)
@@ -390,13 +390,14 @@ endif
390
390
else
391
391
392
392
ifeq ($(1 ) ,0)
393
- HLIB $(1)_H_$(3) = $$( HROOT $( 1 ) _H_ $( 3 ) ) / lib
393
+ HLIB_RELATIVE $(1)_H_$(3) = lib
394
394
else
395
- HLIB $(1)_H_$(3) = $$( HROOT $( 1 ) _H_ $( 3 ) ) / $$(CFG_LIBDIR_RELATIVE )
395
+ HLIB_RELATIVE $(1)_H_$(3) = $$(CFG_LIBDIR_RELATIVE )
396
396
endif
397
397
TROOT$(1)_T_$(2)_H_$(3) = $$(HLIB$(1 ) _H_$(3 ) ) /rustlib/$(2 )
398
398
399
399
endif
400
+ HLIB$(1 ) _H_$(3 ) = $$(HROOT$(1 ) _H_$(3 ) ) /$$(HLIB_RELATIVE$(1 ) _H_$(3 ) )
400
401
401
402
# Destinations of artifacts for target architectures
402
403
TBIN$(1 ) _T_$(2 ) _H_$(3 ) = $$(TROOT$(1 ) _T_$(2 ) _H_$(3 ) ) /bin
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ define DEF_PREPARE_HOST_LIB
115
115
prepare-host-lib-$(1 ) -$(2 ) -$(3 ) -$(4 ) : \
116
116
PREPARE_WORKING_SOURCE_LIB_DIR=$$(HLIB$(2 ) _H_$(3 ) )
117
117
prepare-host-lib-$(1 ) -$(2 ) -$(3 ) -$(4 ) : \
118
- PREPARE_WORKING_DEST_LIB_DIR=$$(PREPARE_DEST_DIR ) /$$(notdir $$( HLIB $( 2 ) _H_$(3 ) ) )
118
+ PREPARE_WORKING_DEST_LIB_DIR=$$(PREPARE_DEST_DIR ) /$$(HLIB_RELATIVE $( 2 ) _H_$(3 ) )
119
119
prepare-host-lib-$(1 ) -$(2 ) -$(3 ) -$(4 ) : prepare-maybe-clean-$(4 ) \
120
120
$$(foreach dep,$$(RUST_DEPS_$(1 ) ) ,prepare-host-lib-$$(dep ) -$(2 ) -$(3 ) -$(4 ) ) \
121
121
$$(HLIB$(2 ) _H_$(3 ) ) /stamp.$(1 ) \
You can’t perform that action at this time.
0 commit comments