Commit 6ea74dda authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Andrei Vagin

build: Don't forget to rebuild pie code on compel plugins change

https://github.com/checkpoint-restore/criu/issues/399Rerorted-by: 's avatarAndrew Vagin <avagin@openvz.org>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent a088aeb4
...@@ -28,6 +28,7 @@ LIBCOMPEL_SO := libcompel.so ...@@ -28,6 +28,7 @@ LIBCOMPEL_SO := libcompel.so
LIBCOMPEL_A := libcompel.a LIBCOMPEL_A := libcompel.a
export LIBCOMPEL_SO LIBCOMPEL_A export LIBCOMPEL_SO LIBCOMPEL_A
criu-deps += compel/$(LIBCOMPEL_A) criu-deps += compel/$(LIBCOMPEL_A)
criu-deps += $(compel-plugins)
# #
# Compel itself. # Compel itself.
......
...@@ -37,7 +37,7 @@ $(1)-obj-e += pie.lib.a ...@@ -37,7 +37,7 @@ $(1)-obj-e += pie.lib.a
$(1)-obj-e += $$(compel_plugins) $(1)-obj-e += $$(compel_plugins)
# Dependency on compel linker script, to relink if it has changed # Dependency on compel linker script, to relink if it has changed
$$(obj)/$(1).built-in.o: $$(LDS) $$(obj)/$(1).built-in.o: $$(LDS) $$(compel_plugins)
$$(obj)/$(1)-blob.h: $$(obj)/$(1).built-in.o $$(obj)/$(1)-blob.h: $$(obj)/$(1).built-in.o
$$(call msg-gen, $$@) $$(call msg-gen, $$@)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment