26 lines
671 B
Diff
26 lines
671 B
Diff
From 03e6b2afddf816e9931ae0eb463ead33ceaaea98 Mon Sep 17 00:00:00 2001
|
|
From: zhongtao <zhongtao17@huawei.com>
|
|
Date: Wed, 9 Oct 2024 10:12:34 +0800
|
|
Subject: [PATCH] add fPIC compile option
|
|
|
|
Signed-off-by: zhongtao <zhongtao17@huawei.com>
|
|
---
|
|
meson.build | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/meson.build b/meson.build
|
|
index 05bcbb2..2954422 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -235,6 +235,7 @@ if want_isulad
|
|
yajldep = dependency('yajl', version : '>=2')
|
|
srcconf.set('HAVE_ISULAD', yajldep.found())
|
|
liblxc_dependencies += yajldep
|
|
+ possible_link_flags += ['-fPIC']
|
|
else
|
|
srcconf.set('HAVE_ISULAD', false)
|
|
endif
|
|
--
|
|
2.25.1
|
|
|