From: Mikhail Gusarov <dottedmag@dottedmag.net> To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org> Subject: [sisyphus] --as-needed && pkg-config/Libs.private Date: Wed, 07 Feb 2007 16:56:09 +0600 Message-ID: <871wl2w81i.fsf@frontier.dottedmag.net> (raw) Приветствую. Поскольку много upstream'ов отказываются включать --as-needed в сборку (по-разному это мотивируя. некоторые мотивы достаточно существенны для upstream'а, такие как странная работа ass-needed на не-x86 архитектурах), предлагаю обратить внимание, что в pkg-config, начиная с версии 0.18 (аж от лета 2005 года), добавлена возможность деления библиотек на два класса: необходимых для динамической линковки, и дополнительных, для статической (Libs и Libs.private). Соответственно, вместо лечения линковки лишних библиотек "по месту" в каждом приложении, можно приложить патч, разделяющий библиотеки на Libs и Libs.private на библиотеку, и пропихивать в upstream уже его. В продавливании таких патчей Сизиф автоматически получает себе в союзники Debian. --
next reply other threads:[~2007-02-07 10:56 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-07 10:56 Mikhail Gusarov [this message] 2007-02-09 6:09 ` Alexey Rusakov 2007-02-09 6:31 ` Damir Shayhutdinov 2007-02-09 6:43 ` Mikhail Gusarov 2007-02-09 6:50 ` Damir Shayhutdinov 2007-02-09 8:07 ` Mikhail Gusarov 2007-02-09 9:23 ` Damir Shayhutdinov 2007-02-09 17:55 ` Dmitry V. Levin 2007-02-09 18:42 ` Damir Shayhutdinov 2007-02-12 16:33 ` Mikhail Gusarov 2007-02-09 6:45 ` Mikhail Gusarov 2007-02-09 6:58 ` Damir Shayhutdinov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=871wl2w81i.fsf@frontier.dottedmag.net \ --to=dottedmag@dottedmag.net \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git