From f0773e8393d1800e0244491cb0fe17afb9785b34 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Wed, 8 Oct 2008 16:40:43 +0000 Subject: [PATCH] Let libol-config return paths relative to $(STAGING_DIR). SVN-Revision: 12914 --- libs/libol/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/libol/Makefile b/libs/libol/Makefile index f47f66fdf..b0a2b3085 100644 --- a/libs/libol/Makefile +++ b/libs/libol/Makefile @@ -48,6 +48,9 @@ define Build/InstallDev $(INSTALL_BIN) \ $(PKG_INSTALL_DIR)/usr/bin/libol-config \ $(2)/bin/ + $(SED) \ + 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \ + $(2)/bin/libol-config $(INSTALL_DIR) $(1)/usr/include/libol $(INSTALL_DATA) \ -- 2.30.2