[MOD] STR #4294: Fix cups-config to not cause overlinking when using shared libs
Brad Smith <brad-BUbV6I797GxWk0Htik3J/[email protected]> Wed, 13 Mar 2013 17:36:00 -0700 (PDT)
| Newsgroups | gmane.comp.printing.cups.bugs |
|---|---|
| Message-ID | <[email protected]> |
--PART-BOUNDARY Content-Type: text/plain DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] The attached patch fixes cups-config to not cause it to overlink libraries when linking in libcups. libcups itself is linked to the relevant libraries. cups-config at the moment causes the binary to be linked with libraries not relevant for the binary itself. Link: https://www.cups.org/str.php?L4294 Version: 1.7-current --PART-BOUNDARY Content-Type: text/plain Content-Disposition: attachment; filename="cups-config.in.diff" Index: cups-config.in =================================================================== --- cups-config.in (revision 10903) +++ cups-config.in (working copy) @@ -105,7 +105,7 @@ ;; --libs) if test $static = no; then - libs="@EXTLINKCUPS@ $LIBS"; + libs="@EXTLINKCUPS@"; if test $image = yes; then libs="@EXTLINKCUPSIMAGE@ $libs" fi --PART-BOUNDARY Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ cups-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/cups-bugs --PART-BOUNDARY--