Browse Source

- pkg-utils: cosmetics

master
vanhofen 3 years ago
parent
commit
ab7b6c1515
  1. 14
      package/pkg-utils.mk

14
package/pkg-utils.mk

@ -409,8 +409,9 @@ endef
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# rewrite libtool libraries # rewrite libtool libraries
REWRITE_LIBTOOL_RULES = "s,^libdir=.*,libdir='$(1)',; \ REWRITE_LIBTOOL_RULES = "\
s,\(^dependency_libs='\| \|-L\|^dependency_libs='\)/lib,\ $(1),g" s,^libdir=.*,libdir='$(1)',; \
s,\(^dependency_libs='\| \|-L\|^dependency_libs='\)/lib,\ $(1),g"
REWRITE_LIBTOOL_TAG = rewritten=1 REWRITE_LIBTOOL_TAG = rewritten=1
@ -433,10 +434,11 @@ endef
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# rewrite pkg-config files # rewrite pkg-config files
REWRITE_CONFIG_RULES = "s,^prefix=.*,prefix='$(TARGET_prefix)',; \ REWRITE_CONFIG_RULES = "\
s,^exec_prefix=.*,exec_prefix='$(TARGET_exec_prefix)',; \ s,^prefix=.*,prefix='$(TARGET_prefix)',; \
s,^libdir=.*,libdir='$(TARGET_libdir)',; \ s,^exec_prefix=.*,exec_prefix='$(TARGET_exec_prefix)',; \
s,^includedir=.*,includedir='$(TARGET_includedir)'," s,^libdir=.*,libdir='$(TARGET_libdir)',; \
s,^includedir=.*,includedir='$(TARGET_includedir)',"
define rewrite_config_script # (config-script) define rewrite_config_script # (config-script)
mv $(TARGET_bindir)/$(1) $(HOST_DIR)/bin mv $(TARGET_bindir)/$(1) $(HOST_DIR)/bin

Loading…
Cancel
Save