]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
matchbox-desktop: fix link issue against libdl
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Dec 2012 10:38:46 +0000 (10:38 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 18 Dec 2012 21:09:05 +0000 (22:09 +0100)
matchbox-desktop uses dlopen(), so it needs to link against libdl. The
configure.ac and Makefile.am have the necessary provisions to do so,
but the included configure script does not replace LIBADD_DL in
src/Makefile.am as it should.

Therefore, we force the autoreconf of the package, which solves the
problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/matchbox/matchbox-desktop/matchbox-desktop.mk

index d180d1df6d2baacfa811c9b800915073d20707e2..f8e854c95b8dc48771946e6f7503d279e22001de 100644 (file)
@@ -13,6 +13,11 @@ MATCHBOX_DESKTOP_LICENSE_FILES = COPYING
 MATCHBOX_DESKTOP_DEPENDENCIES = matchbox-lib
 MATCHBOX_DESKTOP_CONF_OPT = --enable-expat
 
+# The bundled configure script does not properly replace LIBADD_DL, so
+# we force an autoreconf even if we don't have any patches touching
+# configure.ac/Makefile.am.
+MATCHBOX_DESKTOP_AUTORECONF = YES
+
 #############################################################
 
 ifeq ($(BR2_PACKAGE_STARTUP_NOTIFICATION),y)