summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/flex/Config.in4
-rw-r--r--package/flex/flex.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/package/flex/Config.in b/package/flex/Config.in
index d110c481b..5c6adcce7 100644
--- a/package/flex/Config.in
+++ b/package/flex/Config.in
@@ -8,9 +8,9 @@ config BR2_PACKAGE_FLEX
http://www.gnu.org/software/flex/
config BR2_PACKAGE_FLEX_LIBFL
- bool "Install libfl.a under staging_dir/lib"
+ bool "Install libfl.a under staging_dir/usr/lib"
default y
depends on BR2_PACKAGE_FLEX
help
- Install libfl.a under staging_dir/lib for further development
+ Install libfl.a under staging_dir/usr/lib for further development
on a host machine.
diff --git a/package/flex/flex.mk b/package/flex/flex.mk
index cf4c6ecb7..e99113414 100644
--- a/package/flex/flex.mk
+++ b/package/flex/flex.mk
@@ -77,7 +77,7 @@ $(TARGET_DIR)/$(FLEX_TARGET_BINARY): $(FLEX_DIR)/$(FLEX_BINARY)
includedir=$(TARGET_DIR)/usr/include \
-C $(FLEX_DIR) install
ifeq ($(strip $(BR2_PACKAGE_FLEX_LIBFL)),y)
- install -D $(FLEX_DIR)/libfl.a $(STAGING_DIR)/lib/libfl.a
+ install -D $(FLEX_DIR)/libfl.a $(STAGING_DIR)/usr/lib/libfl.a
endif
ifneq ($(BR2_HAVE_INFOPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/info