You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Dr. Ralf S. Engelschall 83a06073b6 Removing duplicate -lxxx from the back or from the front of the list is not always the correct thing as there can be situations constructed where each one fails in case of static library linking. For instance, the auto-generated (because of listed dependencies in *.pc files) "-lpango -lfreetype -lz -lfontconfig -lpango -lfreetype -lz" on remove-from-back results in "-lpango -lfreetype -lz -lfontconfig" and leads to "fontconfig with freetype symbols unresolved" while on remove-from-front results in "-lfontconfig -lpango -lfreetype -lz" and leads to "pango with fontconfig symbols unresolved". The only safe method is either to not remove duplicated at all or just remove them from the middle (keeping first and last occurrences). Hence, let's take the "usual large RSE hammer" ;-) and force pkg-config to do what we wish... 20 years ago
..
pkgconfig.patch Removing duplicate -lxxx from the back or from the front of the list is not always the correct thing as there can be situations constructed where each one fails in case of static library linking. For instance, the auto-generated (because of listed dependencies in *.pc files) "-lpango -lfreetype -lz -lfontconfig -lpango -lfreetype -lz" on remove-from-back results in "-lpango -lfreetype -lz -lfontconfig" and leads to "fontconfig with freetype symbols unresolved" while on remove-from-front results in "-lfontconfig -lpango -lfreetype -lz" and leads to "pango with fontconfig symbols unresolved". The only safe method is either to not remove duplicated at all or just remove them from the middle (keeping first and last occurrences). Hence, let's take the "usual large RSE hammer" ;-) and force pkg-config to do what we wish... 20 years ago
pkgconfig.spec cleanup packaging and fix patch 20 years ago