File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -281,10 +281,6 @@ endif
281281endif
282282endif
283283
284- ifneq (${MMTK_PLAN},None)
285- JL_PRIVATE_LIBS-0 += libmmtk_julia
286- endif
287-
288284# Note that we disable MSYS2's path munging here, as otherwise
289285# it replaces our `:`-separated list as a `;`-separated one.
290286define stringreplace
@@ -379,6 +375,24 @@ endif
379375 # Install `dsymutil` into private_libexecdir/
380376 $(INSTALL_M) $(build_depsbindir)/dsymutil$(EXE) $(DESTDIR)$(private_libexecdir)/
381377
378+ ifneq (${MMTK_PLAN},None)
379+ # Make sure we use the right version of $MMTK_PLAN, $MMTK_MOVING and $MMTK_BUILD
380+ ifeq (${MMTK_PLAN},Immix)
381+ LIB_PATH_PLAN = immix
382+ else ifeq (${MMTK_PLAN},StickyImmix)
383+ LIB_PATH_PLAN = sticky
384+ endif
385+
386+ ifeq ($(MMTK_MOVING), 0)
387+ LIB_PATH_MOVING := non_moving
388+ else
389+ LIB_PATH_MOVING := moving
390+ endif
391+
392+ # Install `libmmtk_julia` into private_libdir/
393+ $(INSTALL_M) $(build_libdir)/$(LIB_PATH_PLAN)/$(LIB_PATH_MOVING)/$(MMTK_BUILD)/libmmtk_julia.$(SHLIB_EXT) $(DESTDIR)$(private_libdir)
394+ endif
395+
382396 # Copy public headers
383397 cp -R -L $(build_includedir)/julia/* $(DESTDIR)$(includedir)/julia
384398 # Copy system image
You can’t perform that action at this time.
0 commit comments