netatalk: fix build with cups support
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 30 Apr 2012 19:59:05 +0000 (21:59 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 30 Apr 2012 19:59:05 +0000 (21:59 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/netatalk/netatalk.mk

index 8544026574c27ee465cab94cf67c7ad030d6782f..4f0ec09401dfff8c74b781eedef5c7e21fa2aaff 100644 (file)
@@ -20,6 +20,7 @@ NETATALK_CONF_OPT += --with-cnid-cdb-backend \
 
 ifeq ($(BR2_PACKAGE_CUPS),y)
        NETATALK_DEPENDENCIES += cups
+       NETATALK_CONF_ENV += ac_cv_path_CUPS_CONFIG=$(STAGING_DIR)/usr/bin/cups-config
        NETATALK_CONF_OPT += --enable-cups
 else
        NETATALK_CONF_OPT += --disable-cups