Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
libcddb
From 6c3a91d5d48fd9faf7ba96051a0dbb8ac7005edb Mon Sep 17 00:00:00 2001
From: Christopher Degawa <ccom@randomderp.com>
Date: Fri, 12 Mar 2021 22:42:50 -0600
Subject: [PATCH] configure.ac: use pkg-config for regex and iconv
Signed-off-by: Christopher Degawa <ccom@randomderp.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 9338ce4..18a7d1f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -196,7 +196,7 @@ CFLAGS="$CFLAGS $WARN_CFLAGS $MAINTAINER_CFLAGS"
dnl Additional configuration (platform dependant)
case $host in
*mingw*)
- LIBS="$LIBS -lws2_32 -lregex"
+ LIBS="$LIBS -lws2_32 $($PKG_CONFIG --libs regex iconv)"
;;
*)
;;
--
2.25.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment