X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-integ%2Frecipes-extended%2Fcollectd%2Ffiles%2Fcollectd-fix-for-LIBPYTHON_LDFLAGS.patch;fp=meta-starlingx%2Fmeta-stx-integ%2Frecipes-extended%2Fcollectd%2Ffiles%2Fcollectd-fix-for-LIBPYTHON_LDFLAGS.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=0bee88f44d7821a64920c8baf63d4acdab73d756;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-integ/recipes-extended/collectd/files/collectd-fix-for-LIBPYTHON_LDFLAGS.patch b/meta-starlingx/meta-stx-integ/recipes-extended/collectd/files/collectd-fix-for-LIBPYTHON_LDFLAGS.patch deleted file mode 100644 index 0bee88f..0000000 --- a/meta-starlingx/meta-stx-integ/recipes-extended/collectd/files/collectd-fix-for-LIBPYTHON_LDFLAGS.patch +++ /dev/null @@ -1,32 +0,0 @@ -From b619d111a63d83b4d4bfa3f2c6c28cbd94ba874b Mon Sep 17 00:00:00 2001 -From: Jackie Huang -Date: Sat, 11 Apr 2020 21:55:08 +0800 -Subject: [PATCH] fix for LIBPYTHON_LDFLAGS - -There is bug in oe-core's python-native that sysconfig module cat not -get the correct Py_ENABLE_SHARED, which causes the "python-config --ldflags" -add the prefix/lib/pythonX.Y/config dir which is the static lib dir, -here is a workarond to remove the dir, we may need to fix the issue -in oe-core later. - -Signed-off-by: Jackie Huang ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index b5f8e87..8a2d04f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -4641,7 +4641,7 @@ if test "$PYTHON_CONFIG" != ""; then - if test $? -ne 0; then - with_libpython="no" - fi -- LIBPYTHON_LDFLAGS="`${PYTHON_CONFIG} --ldflags`" -+ LIBPYTHON_LDFLAGS="`${PYTHON_CONFIG} --ldflags|sed 's/-L.*config //'`" - if test $? -ne 0; then - with_libpython="no" - fi --- -2.7.4 -