[Python] Change the logic to find the python library name
authorDongju Chae <dongju.chae@samsung.com>
Thu, 4 Mar 2021 06:17:15 +0000 (15:17 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Thu, 4 Mar 2021 07:50:34 +0000 (16:50 +0900)
commitafc8b16a37a6984c23f85cf6bac0d80279d7037d
treeabeecd2210b0844c24ec6314a0ae8c52304af615
parent55ffeb2fc5000e9f92bc3164f85f05918776469b
[Python] Change the logic to find the python library name

This patch changes the logic to find the python library name.

The library name depends on which options were used to build python.
For example, if python 3.7 was compiled with '--with-pymalloc',
the library name is 'libpython3.7m.so'

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
ext/nnstreamer/tensor_filter/tensor_filter_python3.cc