summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/oidc-agent/files/oidc-agent-4.4.0_deps-automagic.patch')
-rw-r--r--net-misc/oidc-agent/files/oidc-agent-4.4.0_deps-automagic.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-misc/oidc-agent/files/oidc-agent-4.4.0_deps-automagic.patch b/net-misc/oidc-agent/files/oidc-agent-4.4.0_deps-automagic.patch
new file mode 100644
index 000000000000..f8131d23bafa
--- /dev/null
+++ b/net-misc/oidc-agent/files/oidc-agent-4.4.0_deps-automagic.patch
@@ -0,0 +1,13 @@
+--- a/Makefile
++++ b/Makefile
+@@ -78,8 +78,8 @@
+ TESTSRCDIR = test/src
+ TESTBINDIR = test/bin
+
+-USE_CJSON_SO ?= $(shell /sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH) 2>/dev/null | grep -i libcjson >/dev/null && echo 1 || echo 0)
+-USE_LIST_SO ?= $(shell /sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH) 2>/dev/null | grep -i liblist >/dev/null && echo 1 || echo 0)
++USE_CJSON_SO ?= 0
++USE_LIST_SO ?= 0
+ USE_ARGP_SO ?= 0
+
+ ifeq ($(USE_CJSON_SO),1)