mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Makefile.config: set CR_PLUGIN_DEFAULT variable
By default, CRIU uses the path "/usr/lib/criu" to install and load plugins at runtime. This path is defined by the `PLUGINDIR` variable in Makefile.install and `CR_PLUGIN_DEFAULT` in `criu/include/plugin.h`. However, some distribution packages might install the CRIU plugins at "/usr/lib64/criu" instead. This patch updates the makefile to align the path defined by `CR_PLUGIN_DEFAULT` with the value of `PLUGINDIR`. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
f1d465448f
commit
4f8f6f2883
2 changed files with 5 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ DEPS_NOK := ;
|
|||
__nmk_dir ?= ../../scripts/nmk/scripts/
|
||||
include $(__nmk_dir)msg.mk
|
||||
|
||||
PLUGIN_CFLAGS := -g -Wall -Werror -D _GNU_SOURCE -shared -nostartfiles -fPIC -DCR_PLUGIN_DEFAULT="$(PLUGINDIR)"
|
||||
PLUGIN_CFLAGS := -g -Wall -Werror -D _GNU_SOURCE -shared -nostartfiles -fPIC
|
||||
PLUGIN_LDFLAGS := -lpthread -lrt -ldrm -ldrm_amdgpu
|
||||
|
||||
ifeq ($(CONFIG_AMDGPU),y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue