summaryrefslogtreecommitdiff
path: root/net-libs/libproxy/files/0.5.0-Guard-PxManager-test-with-pacrunner-duktape-option-2.patch
blob: 6af2ebbe7f8698189cf9d5dd0b998ae9c80ba8ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From f6aab7bc2a821117b2079f7504ab444dd13f4708 Mon Sep 17 00:00:00 2001
From: Jan-Michael Brummer <jan.brummer@tabos.org>
Date: Tue, 16 May 2023 15:10:53 +0200
Subject: [PATCH] Guard PxManager test with pacrunner-duktape option (#215)

Fixes: https://github.com/libproxy/libproxy/issues/213
---
 tests/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/meson.build b/tests/meson.build
index 4ae8e7d..c8fe11f 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -17,7 +17,7 @@ if get_option('tests')
        env: envs
   )
 
-  if soup_dep.found()
+  if soup_dep.found() and get_option('pacrunner-duktape')
     px_manager_test = executable('test-px-manager',
       ['px-manager-test.c', 'px-manager-helper.c'],
       include_directories: px_backend_inc,
-- 
2.39.3