wxGTK-3.2.1-prefer-lib64-in-tests.patch 1016 B

12345678910111213141516171819202122232425262728293031323334
  1. From eafc2ad88b9164a8ef6bd2f6d79e8d7da90246e8 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@aarsen.me>
  3. Date: Mon, 19 Dec 2022 12:30:09 +0100
  4. Subject: [PATCH] tests: Prefer /lib64 to /lib in DynamicLibrary test
  5. ---
  6. Upstream has been notified about this test failure, however, I'd prefer a
  7. different fix in place of this one, so I haven't sent a patch in yet.
  8. https://github.com/wxWidgets/wxWidgets/commit/512b8033feef6ba99c4dfdf6ada42a56d7425d6d
  9. tests/misc/dynamiclib.cpp | 3 ++-
  10. 1 file changed, 2 insertions(+), 1 deletion(-)
  11. diff --git a/tests/misc/dynamiclib.cpp b/tests/misc/dynamiclib.cpp
  12. index 020eb5b..ee41f1d 100644
  13. --- a/tests/misc/dynamiclib.cpp
  14. +++ b/tests/misc/dynamiclib.cpp
  15. @@ -37,9 +37,10 @@ TEST_CASE("DynamicLibrary::Load", "[dynlib]")
  16. #else // other Unix
  17. static const char* const candidateDirs[] =
  18. {
  19. + "/lib64",
  20. + "/usr/lib64",
  21. "/lib/x86_64-linux-gnu",
  22. "/lib",
  23. - "/lib64",
  24. "/usr/lib",
  25. };
  26. --
  27. 2.39.0