summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2023-05-08 18:39:49 +0000
committerPascal Terjan <pterjan@gmail.com>2023-05-28 18:52:29 +0000
commit2b34f905c90b3949746eb42231e7df39df20e4cd (patch)
treebcf83a51f70d89b6972a3a1833dd0fc62c9e3064
parenta271c06209bf23efa37f5ad67ef32222094ea9ef (diff)
downloaddrakx-2b34f905c90b3949746eb42231e7df39df20e4cd.tar
drakx-2b34f905c90b3949746eb42231e7df39df20e4cd.tar.gz
drakx-2b34f905c90b3949746eb42231e7df39df20e4cd.tar.bz2
drakx-2b34f905c90b3949746eb42231e7df39df20e4cd.tar.xz
drakx-2b34f905c90b3949746eb42231e7df39df20e4cd.zip
Also use lib64 on aarch64
-rw-r--r--mdk-stage1/init.c2
-rw-r--r--mdk-stage1/rescue-gui.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index 7c48f64ec..7f18c3ee0 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -59,7 +59,7 @@ static inline long reboot(unsigned int command)
char * env[] = {
"PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sbin:/mnt/usr/sbin:/mnt/bin:/mnt/usr/bin",
"LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/lib:/mnt/usr/lib"
-#if defined(__x86_64__)
+#if defined(__x86_64__) || defined(__aarch64__)
":/lib64:/usr/lib64:/mnt/lib64:/mnt/usr/lib64"
#endif
,
diff --git a/mdk-stage1/rescue-gui.c b/mdk-stage1/rescue-gui.c
index c7aae6126..e1b14be2e 100644
--- a/mdk-stage1/rescue-gui.c
+++ b/mdk-stage1/rescue-gui.c
@@ -48,7 +48,7 @@ static inline long reboot(void)
char * env[] = {
"PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sbin:/mnt/usr/sbin:/mnt/bin:/mnt/usr/bin",
"LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/lib:/mnt/usr/lib"
-#if defined(__x86_64__)
+#if defined(__x86_64__) || defined(__aarch64__)
":/lib64:/usr/lib64:/mnt/lib64:/mnt/usr/lib64"
#endif
,