[Buildroot] [PATCH 1/1] package/owfs: enable back php

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Mar 15 22:25:46 UTC 2020


On Sun, 15 Mar 2020 11:21:11 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> +# $(libdir) is set to $(EXTENSION_DIR) which is patched in php.mk to add
> +# $(TARGET_DIR) so remove $(DESTDIR) to avoid an install failure

I guess you're referring to:

+       $(SED) "/extension_dir/ s:/usr:$(TARGET_DIR)/usr:" \
+               $(STAGING_DIR)/usr/bin/php-config

in php.mk ?

Is this the correct thing to do ? Do we have a better solution ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list