Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save 1480c1/dfe07bdc3aed22517cd5512e47cfcc78 to your computer and use it in GitHub Desktop.
Save 1480c1/dfe07bdc3aed22517cd5512e47cfcc78 to your computer and use it in GitHub Desktop.
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