From 1a718eeea5882b194bbc4a7318af9d92b5626d03 Mon Sep 17 00:00:00 2001 From: Fedotova Date: Thu, 19 Sep 2024 13:22:28 +0200 Subject: [PATCH] Fix for the previous commit --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 38450786057..e65c1b0d9e0 100644 --- a/makefile +++ b/makefile @@ -456,7 +456,7 @@ $(CORE.tmpdir_a)/$(core_a:%.$a=%_link.$a): $(CORE.tmpdir_a)/$(core_a:%.$a=%_lin $(WORKDIR.lib)/$(core_a): LOPT:= $(WORKDIR.lib)/$(core_a): $(daaldep.math_backend.ext) $(CORE.tmpdir_a)/$(core_a:%.$a=%_link.$a) ; $(LINK.STATIC) -$(WORKDIR.lib)/$(core_y): LOPT += $(-fPIC) +$(WORKDIR.lib)/$(core_y): LOPT += $(-fPIC) $(daaldep.rt.tbb) $(WORKDIR.lib)/$(core_y): LOPT += $(daaldep.rt.seq) $(WORKDIR.lib)/$(core_y): LOPT += $(if $(OS_is_win),-IMPLIB:$(@:%.$(MAJORBINARY).dll=%_dll.lib),) $(WORKDIR.lib)/$(core_y): LOPT += $(if $(OS_is_win),-LIBPATH:$(RELEASEDIR.tbb.libia),-L$(TBBDIR.soia.lnx)) @@ -464,7 +464,7 @@ ifdef OS_is_win $(WORKDIR.lib)/$(core_y:%.$(MAJORBINARY).dll=%_dll.lib): $(WORKDIR.lib)/$(core_y) endif $(CORE.tmpdir_y)/$(core_y:%.$y=%_link.txt): $(CORE.objs_y) $(if $(OS_is_win),$(CORE.tmpdir_y)/dll.res,) | $(CORE.tmpdir_y)/. ; $(WRITE.PREREQS) -$(WORKDIR.lib)/$(core_y): $(daaldep.math_backend.ext) $(daaldep.rt.tbb) \ +$(WORKDIR.lib)/$(core_y): $(daaldep.math_backend.ext) \ $(if $(PLAT_is_win32e),$(CORE.srcdir)/export_win32e.def) \ $(CORE.tmpdir_y)/$(core_y:%.$y=%_link.txt) ; $(LINK.DYNAMIC) ; $(LINK.DYNAMIC.POST)