summarylogtreecommitdiffstats
path: root/020-tensorrt-fix-python.patch
diff options
context:
space:
mode:
authorDaniel Bermond2024-04-30 16:32:48 -0300
committerDaniel Bermond2024-04-30 16:32:48 -0300
commit5e446b18fd14398944b9d8a5abc85dd7ab9ce3ad (patch)
tree86ee9ead9c3132ec2e26879d9d3e1c10c104dfd6 /020-tensorrt-fix-python.patch
parent1757541f2f0059a753f614652049dc48b7a8b70c (diff)
downloadaur-tensorrt.tar.gz
Update to version 10.0.1.6
Diffstat (limited to '020-tensorrt-fix-python.patch')
-rw-r--r--020-tensorrt-fix-python.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/020-tensorrt-fix-python.patch b/020-tensorrt-fix-python.patch
index 3bc97eb92acb..b68764f57e9a 100644
--- a/020-tensorrt-fix-python.patch
+++ b/020-tensorrt-fix-python.patch
@@ -13,7 +13,7 @@
find_path(PY_LIB_DIR ${PYTHON_LIB_NAME}.lib HINTS ${WIN_EXTERNALS}/${PYTHON} ${EXT_PATH}/${PYTHON} PATH_SUFFIXES lib)
message(STATUS "PY_LIB_DIR: ${PY_LIB_DIR}")
else()
-- find_path(PY_INCLUDE Python.h HINTS ${EXT_PATH}/${PYTHON} PATH_SUFFIXES include)
+- find_path(PY_INCLUDE Python.h HINTS ${EXT_PATH}/${PYTHON} /usr/include/${PYTHON} PATH_SUFFIXES include)
+ find_path(PY_INCLUDE Python.h HINTS /usr/lib PATH_SUFFIXES ${PYTHON})
endif()