14 Star 0 Fork 3

src-openEuler/rt-tests

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
rt-tests-Makefile-do-not-use-python3-for-rhel7.8.patch 853 Bytes
一键复制 编辑 原始数据 按行查看 历史
RyanL 提交于 2023-02-23 15:46 +08:00 . Package init
From 73536483085d27d872b35a3aa459f681b8779020 Mon Sep 17 00:00:00 2001
From: John Kacur <jkacur@redhat.com>
Date: Mon, 19 Aug 2019 23:12:42 +0200
Subject: [PATCH] rt-tests: Makefile, do not use python3 for rhel7.8
Don't use python3 for installing python files in rhel7.8
Signed-off-by: John Kacur <jkacur@redhat.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 51b8dea001e3..536772033776 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ CFLAGS ?= -Wall -Wno-nonnull
CPPFLAGS += -D_GNU_SOURCE -Isrc/include
LDFLAGS ?=
-PYLIB ?= $(shell python3 -c 'import distutils.sysconfig; print (distutils.sysconfig.get_python_lib())')
+PYLIB ?= $(shell python -c 'import distutils.sysconfig; print (distutils.sysconfig.get_python_lib())')
ifndef DEBUG
CFLAGS += -O2 -g
--
2.20.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/rt-tests.git
git@gitee.com:src-openeuler/rt-tests.git
src-openeuler
rt-tests
rt-tests
master

搜索帮助