void-packages/srcpkgs/hsetroot/patches/fix-libx11.patch
Jürgen Buchmüller 024cca2a5a hsetroot: fix cross build
Can't check for existing files when cross compiling,
thus always just set LDFLAGS="-lX11".
2016-05-16 14:27:31 +02:00

12 lines
347 B
Diff

--- configure.ac 2003-09-05 23:41:38.000000000 +0200
+++ configure.ac 2016-05-16 14:11:37.284749099 +0200
@@ -38,6 +38,9 @@
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
+# Need libX11
+LDFLAGS="-lX11"
+
# Check for imlib2
AC_CHECK_PROGS(imlib2config_cmd, imlib2-config)
if test x$imlib2config_cmd = "x"; then