From: Peter Korsgaard Date: Sun, 22 Dec 2019 21:31:35 +0100 Subject: [Buildroot] [PATCH] package/pkg-python: use _CONFIGURE_OPTS for build env In-Reply-To: <20191205231103.27778-1-ryan.barnett@rockwellcollins.com> (Ryan Barnett's message of "Thu, 5 Dec 2019 17:11:02 -0600") References: <20191205231103.27778-1-ryan.barnett@rockwellcollins.com> Message-ID: <874kxsyue0.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Ryan" == Ryan Barnett writes: > When building host or target python packages, we need to ensure that > the build environment utilize {HOST|TARGET}_CONFIGURE_OPTS. This > ensures that the correct linker and compiler environment variables are > set to compile utilizing either the host or target folders. > It was discovered that when compiling a host-python package, it was > using linking against the build machines library folder instead of the > host folder because LDFLAGS was not properly set and was improperly > detecting whether or not a shared or static library was present in the > host folder. > CC: Arnout Vandecappelle > Signed-off-by: Ryan Barnett > --- > Changes v1 -> v2: > - Merged HOST/TARGET_CONFIGURE_OPTS to single commit (suggested by > Arnout) > - Added HOST/TARGET_CONFIGURE_OPTS to env for setuptools (suggested > by Arnout) Committed to 2019.02.x and 2019.11.x, thanks. -- Bye, Peter Korsgaard