ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Damir Shayhutdinov <damir@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] pkg-config Requires.private - полчища саранчи и враги народа
Date: Mon, 28 Feb 2011 12:35:56 +0300
Message-ID: <AANLkTik5c_+Pe06tc6UK=Jy+-AoKRGfqx0d-gG9d1kp2@mail.gmail.com> (raw)
In-Reply-To: <20110227170149.GA30541@altlinux.org>

>> Дядя Лёша, вопрос из зала - а как же быть с условными зависимостями?
>>
>> #ifdef USE_FOO_H
>>
>> #include <foo.h>
>>
>> #endif
>
> Просьба уточнить, каким образом включается -DUSE_FOO_H.
> Если автоматически, например, из другого заголовка в этом пакете,
> или из pkg-config --cflags согласно .pc-файлу в этом пакете, то и
> зависимость, с высокой вероятностью, подцепится автоматически.
> А если вручную, то и зависимость можно прописать вручную.

Ага, вот про использование pkg-config --cflags в исходном письме было
не понятно. А вообще это изменение применимо только к пакетам,
заточенным под pkgconfig?

  reply	other threads:[~2011-02-28  9:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27 14:38 Alexey Tourbin
2011-02-27 16:45 ` Damir Shayhutdinov
2011-02-27 17:01   ` Dmitry V. Levin
2011-02-28  9:35     ` Damir Shayhutdinov [this message]
2011-02-28 12:30       ` Dmitry V. Levin
2011-03-08 16:47         ` [devel] cpp.req Dmitry V. Levin
2011-03-08 22:57           ` Alexey Tourbin
2011-03-09 11:42           ` Sergey V Turchin
2011-03-09 12:46             ` Dmitry V. Levin
2011-03-09 13:13               ` Sergey V Turchin
2011-03-09 13:16                 ` Dmitry V. Levin
2011-03-10  8:47                   ` Michael Shigorin
2011-03-10 13:10                     ` Dmitry V. Levin
2011-02-27 17:17   ` [devel] pkg-config Requires.private - полчища саранчи и враги народа Alexey Tourbin
2011-03-02 23:29     ` Alexey Tourbin
2011-03-02 23:49       ` Dmitry V. Levin
2011-03-02  5:50 ` Yuri N. Sedunov
2011-03-02  9:10   ` Dmitry V. Levin
2011-03-02 14:02     ` Alexey Tourbin
2011-03-02 13:43   ` Alexey Tourbin
2011-03-02 13:50     ` Yuri N. Sedunov

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='AANLkTik5c_+Pe06tc6UK=Jy+-AoKRGfqx0d-gG9d1kp2@mail.gmail.com' \
    --to=damir@altlinux.org \
    --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