hsetroot: fix cross build
Can't check for existing files when cross compiling, thus always just set LDFLAGS="-lX11".
This commit is contained in:
parent
51f91323b0
commit
024cca2a5a
2 changed files with 3 additions and 3 deletions
|
@ -4,8 +4,8 @@
|
||||||
# Checks for typedefs, structures, and compiler characteristics.
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
|
|
||||||
+# Check for X11
|
+# Need libX11
|
||||||
+AC_CHECK_FILE([/usr/lib/libX11.so], [LDFLAGS="-L/usr/lib -lX11"])
|
+LDFLAGS="-lX11"
|
||||||
+
|
+
|
||||||
# Check for imlib2
|
# Check for imlib2
|
||||||
AC_CHECK_PROGS(imlib2config_cmd, imlib2-config)
|
AC_CHECK_PROGS(imlib2config_cmd, imlib2-config)
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'hsetroot'.
|
# Template build file for 'hsetroot'.
|
||||||
pkgname=hsetroot
|
pkgname=hsetroot
|
||||||
version=1.0.2
|
version=1.0.2
|
||||||
revision=6
|
revision=7
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="libX11-devel imlib2-devel"
|
makedepends="libX11-devel imlib2-devel"
|
||||||
|
|
Loading…
Reference in a new issue