Use /usr/lib instead of /lib for flex

This commit is contained in:
Ulf Samuelsson 2007-11-29 13:03:56 +00:00
parent d4939be6a8
commit c844797f49
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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