From: Alexei Mezin <alexei.mezin@gmail.com>
To: Devel@lists.altlinux.org
Subject: Re: [devel] Сборка приложений с libpython
Date: Wed, 20 Dec 2017 09:21:23 +0300
Message-ID: <c24c585d-9ed7-0eaa-9dbc-185c55996668@gmail.com> (raw)
In-Reply-To: <20171219144703.GB5611@altlinux.org>
19.12.2017 17:47, Dmitry V. Levin пишет:
> Это неправильно, в --ldflags не должно быть никаких -l, только -L.
> Для -l есть --libs.
>
Однако в python-config --ldflags есть аж 4 штуки -l и ни одной -L.
Верно ли я понял, что правильным путем выхода из ситуации будет
объяснение сборочным скриптам, что опции линковки для приложений,
которым действительно нужна libpython, надо брать из python-config
--libs? В данный момент это окажется всего одна опция -lpython2.7.
next prev parent reply other threads:[~2017-12-20 6:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-18 17:35 Alexei Mezin
2017-12-18 18:18 ` Vitaly Lipatov
2017-12-18 19:01 ` Alexei Mezin
2017-12-19 4:35 ` Vladimir D. Seleznev
2017-12-19 5:20 ` Dmitry V. Levin
2017-12-19 13:38 ` Alexei V. Mezin
2017-12-19 14:08 ` Dmitry V. Levin
2017-12-19 14:13 ` Alexei V. Mezin
2017-12-19 14:47 ` Dmitry V. Levin
2017-12-20 6:21 ` Alexei Mezin [this message]
2017-12-20 11:17 ` Dmitry V. Levin
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=c24c585d-9ed7-0eaa-9dbc-185c55996668@gmail.com \
--to=alexei.mezin@gmail.com \
--cc=Devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git