Files
termux-packages/packages/cava/configure.ac.patch
termux-pacman-bot 126b937346 tree-wide: remove pthread/rt patches and workarounds
Commit af18f1dac0b5 ("scripts: start_build: create libpthread and
librt as well") added helper libs so that packages that try to find
these libs can do so.

%ci:no-build
2023-02-13 06:03:05 +00:00

12 lines
448 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -260,7 +260,7 @@
AC_CHECK_LIB(iniparser,iniparser_load, have_iniparser=yes, have_iniparser=no)
if [[ $have_iniparser = "yes" ]] ; then
LIBS="$LIBS -liniparser"
- CPPFLAGS="$CPPFLAGS -I/usr/include/iniparser"
+ CPPFLAGS="$CPPFLAGS -I@TERMUX_PREFIX@/include/iniparser"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <iniparser.h>]],
[[dictionary* ini;
const char *keys[3];