mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-28 21:07:43 +00:00
build: Don't forget to rebuild pie code on compel plugins change
https://github.com/checkpoint-restore/criu/issues/399 Rerorted-by: Andrew Vagin <avagin@openvz.org> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
a088aeb475
commit
6ea74dda58
@ -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
|
|||||||
$(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, $$@)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user