[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] tools/libs: Simplify internal *.pc files



commit 7ae04e1de449843a4b19d684c79ee07e3e42abfc
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Wed Nov 25 14:37:00 2020 +0000
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Fri Apr 9 10:31:17 2021 +0100

    tools/libs: Simplify internal *.pc files
    
    The internal package config file for libxenlight reads (reformatted to avoid
    exceeding the SMTP 998-character line length):
    
      Libs: -L${libdir}
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/evtchn
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/call
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/evtchn
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/gnttab
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/foreignmemory
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/call
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/devicemodel
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/ctrl
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/store
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/call
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/hypfs
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/evtchn
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/call
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/evtchn
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/gnttab
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/foreignmemory
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/call
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/devicemodel
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/ctrl
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/guest
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/light
      -lxenlight
    
    Drop duplicate -rpath-link='s to turn it into the slightly-more-manageable:
    
      Libs: -L${libdir}
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/call
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/ctrl
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/devicemodel
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/evtchn
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/foreignmemory
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/gnttab
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/guest
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/hypfs
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/light
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/store
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toolcore
      
-Wl,-rpath-link=/local/security/xen.git/tools/libs/light/../../../tools/libs/toollog
      -lxenlight
    
    Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
---
 tools/libs/libs.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libs/libs.mk b/tools/libs/libs.mk
index 2d973ccb95..84130ccbaf 100644
--- a/tools/libs/libs.mk
+++ b/tools/libs/libs.mk
@@ -33,7 +33,7 @@ PKG_CONFIG ?= $(LIB_FILE_NAME).pc
 PKG_CONFIG_NAME ?= Xen$(LIBNAME)
 PKG_CONFIG_DESC ?= The $(PKG_CONFIG_NAME) library for Xen hypervisor
 PKG_CONFIG_VERSION := $(MAJOR).$(MINOR)
-PKG_CONFIG_USELIBS := $(SHLIB_libxen$(LIBNAME))
+PKG_CONFIG_USELIBS := $(sort $(SHLIB_libxen$(LIBNAME)))
 PKG_CONFIG_LIB := $(LIB_FILE_NAME)
 PKG_CONFIG_REQPRIV := $(subst $(space),$(comma),$(strip $(foreach 
lib,$(patsubst ctrl,control,$(USELIBS_$(LIBNAME))),xen$(lib))))
 
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.