From 1202eddaea67efe42dbc7b1f90e68face459135c Mon Sep 17 00:00:00 2001 From: lars Date: Wed, 8 Oct 2008 16:40:43 +0000 Subject: [PATCH] Let libol-config return paths relative to $(STAGING_DIR). git-svn-id: svn://svn.openwrt.org/openwrt/packages@12914 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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.11.0