[meta-python] python3-matplotlib: Generate correctly names setup config file

Message ID 20211214024529.3209225-1-raj.khem@gmail.com
State New
Headers show
Series [meta-python] python3-matplotlib: Generate correctly names setup config file | expand

Commit Message

Khem Raj Dec. 14, 2021, 2:45 a.m. UTC
The file should be called mplsetup.cfg"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../python/python3-matplotlib_3.5.1.bb                 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Patch

diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
index f9eb79ff1c..f8448d5f1d 100644
--- a/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
@@ -40,12 +40,12 @@  RDEPENDS:${PN} = "\
     ${PYTHON_PN}-pytz \
 "
 
-ENABLELTO:toolchain-clang:riscv64 = "echo enable_lto = False >> ${S}/setup.cfg"
-ENABLELTO:toolchain-clang:riscv32 = "echo enable_lto = False >> ${S}/setup.cfg"
-ENABLELTO:toolchain-clang:mips = "echo enable_lto = False >> ${S}/setup.cfg"
+ENABLELTO:toolchain-clang:riscv64 = "echo enable_lto = False >> ${S}/mplsetup.cfg"
+ENABLELTO:toolchain-clang:riscv32 = "echo enable_lto = False >> ${S}/mplsetup.cfg"
+ENABLELTO:toolchain-clang:mips = "echo enable_lto = False >> ${S}/mplsetup.cfg"
 do_compile:prepend() {
-    echo [libs] > ${S}/setup.cfg
-    echo system_freetype = true >> ${S}/setup.cfg
+    echo [libs] > ${S}/mplsetup.cfg
+    echo system_freetype = True >> ${S}/mplsetup.cfg
     ${ENABLELTO}
 }