From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=ZRZMQpmJY+xluSIrvfNnciTybCimWAfXiATVCIN3WQw=; b=NsZPpGN/tgI4sn/fJtU8E1ZAjN1HJ+MjRvLj48A5GKI3NbKe608SpyonnM9lqH1YU+ GA/aYamcy3kLViBEwG8aIiS7NWyHkwrE3lFDjnp8le2QWc4rXfYvCoaszJEbjLRvGnn4 8knBIhw9bf/1y31S194FQRKvDhpVBmhdBU/L92fLijvQoGOm396adLBEuefteErZ8G4n vQQimVzbjdd45g3z4Wbu2ALXxlnvWm3VZAcu0Tj0l0Lo7uiAqujnFjVsOFPSm3omembb toteUQ+JgAOpRBn84mVu+d5pmuE2yeMAixRIv150WJXSl8MGB2pfwDnqKEzWBUO3U2ZL U11w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZRZMQpmJY+xluSIrvfNnciTybCimWAfXiATVCIN3WQw=; b=CrUDsf+bkgUydbFwX406XSIeGPwAybxbPWQKWg3111whY5wv8onHmdHrPf5JFxpaCh /ONcbobyYOf9ZuKM4ydIP/+w8RA5n96s1S7Ek2ZAEmCbKtOpHsg47t2NTsqoz70wY348 nJ3xNG+AWiIfT6BBIDXOx3lQxxem1t+rx6hHVKDY+dFsSs7K4YBMjwHBoCCe1tawx4uf 8E5h+68hOvdoXwmNYR8AHIhhhZb1J9ewFzQw2rdU8l8to5Q9z+ZyTaJEYI4Vx0HaGS25 c6iih619CQqrmsw0HpQvOdkWJfjifhpIp/eM33PTdJ0WlABOC5aUnyEGJGHeRj9ldhFx AfLQ== X-Gm-Message-State: AKGB3mIMFK0HKr3ZsQFi/8Df46WCl629DZjtg8Zjlj6ArWOwJEFFGY2w VXEFEkGXSg9pw8MFDkR374t21A== X-Google-Smtp-Source: ACJfBoviWWxSG7b8Zvt2TtwqpComgtFVygfonfVT6tTdfxq82nUlNiPRfvaLL27XI/84WW5TtkhhYw== X-Received: by 10.46.16.138 with SMTP id 10mr4160284ljq.115.1513750884932; Tue, 19 Dec 2017 22:21:24 -0800 (PST) To: Devel@lists.altlinux.org References: <3f0a0e62-618a-303c-8cae-f49f6e02090f@gmail.com> <4e2d39d5-c008-b3da-7936-9359a2140580@gmail.com> <20171219043543.GA27850@portlab> <20171219140838.GA5611@altlinux.org> <20171219144703.GB5611@altlinux.org> From: Alexei Mezin Message-ID: Date: Wed, 20 Dec 2017 09:21:23 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171219144703.GB5611@altlinux.org> Content-Type: text/plain; charset=koi8-r; format=flowed Content-Language: ru Content-Transfer-Encoding: 8bit Subject: Re: [devel] =?utf-8?b?0KHQsdC+0YDQutCwINC/0YDQuNC70L7QttC10L3QuNC5?= =?utf-8?q?_=D1=81_libpython?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2017 06:21:27 -0000 Archived-At: List-Archive: List-Post: 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.