diff --git a/libs/libevhtp/Makefile b/libs/libevhtp/Makefile index 6e2313aab..07668fd8b 100644 --- a/libs/libevhtp/Makefile +++ b/libs/libevhtp/Makefile @@ -25,6 +25,7 @@ PKG_MAINTAINER:=Eneas U de Queiroz PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=LICENSE +TARGET_CFLAGS += $(TARGET_CPPFLAGS) CMAKE_INSTALL:=1 CMAKE_OPTIONS += \ -DLIB_INSTALL_DIR="$(STAGING_DIR)/usr/lib" \ diff --git a/libs/oniguruma/Makefile b/libs/oniguruma/Makefile index 33f0e598f..62ba644b8 100644 --- a/libs/oniguruma/Makefile +++ b/libs/oniguruma/Makefile @@ -48,7 +48,7 @@ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/{include,lib} $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ - $(SED) 's,/usr,${STAGING_DIR}/usr,g' $(1)/usr/lib/pkgconfig/oniguruma.pc + $(SED) 's,/usr,$(STAGING_DIR)/usr,g' $(1)/usr/lib/pkgconfig/oniguruma.pc endef $(eval $(call BuildPackage,oniguruma))