diff options
Diffstat (limited to 'test/mocks/netconf-pnp-simulator/engine/patches/libnetconf2/02-fix-missing-include-dir.patch')
-rw-r--r-- | test/mocks/netconf-pnp-simulator/engine/patches/libnetconf2/02-fix-missing-include-dir.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/mocks/netconf-pnp-simulator/engine/patches/libnetconf2/02-fix-missing-include-dir.patch b/test/mocks/netconf-pnp-simulator/engine/patches/libnetconf2/02-fix-missing-include-dir.patch new file mode 100644 index 000000000..556b9fd84 --- /dev/null +++ b/test/mocks/netconf-pnp-simulator/engine/patches/libnetconf2/02-fix-missing-include-dir.patch @@ -0,0 +1,11 @@ +--- a/python/setup.py.in 2020-02-20 20:04:33.000000000 +0000 ++++ b/python/setup.py.in 2020-02-20 20:04:57.000000000 +0000 +@@ -13,7 +13,7 @@ + "${CMAKE_CURRENT_COURCE_DIR}/rpc.h" + ], + libraries=["netconf2"], +- extra_compile_args=["-Wall", "-I${CMAKE_CURRENT_BINARY_DIR}" @SSH_DEFINE@ @TLS_DEFINE@], ++ extra_compile_args=["-Wall", "-I${CMAKE_CURRENT_BINARY_DIR}", "-I${LIBYANG_INCLUDE_DIR}", "-I${LIBSSH_INCLUDE_DIR}" @SSH_DEFINE@ @TLS_DEFINE@], + extra_link_args=["-L${CMAKE_CURRENT_BINARY_DIR}/.."], + ) + |