* [Buildroot] [PATCH v2,1/1] package/libodb-mysql: fix static build
@ 2020-07-14 21:18 Fabrice Fontaine
2020-07-14 21:49 ` [Buildroot] [PATCH v2, 1/1] " Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-07-14 21:18 UTC (permalink / raw)
To: buildroot
Use mysql_config to help libodb-mysql to retrieve mysql dependencies
such as -lz
Fixes:
- http://autobuild.buildroot.org/results/a5447c5105f15606ed562b39ca84c06e7e6b78c0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v1 -> v2 (after review of Thomas Petazzoni):
- Use mysql_config to avoid hardcoding -lz
package/libodb-mysql/libodb-mysql.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/libodb-mysql/libodb-mysql.mk b/package/libodb-mysql/libodb-mysql.mk
index 97cbcddf93..835e5bc6bf 100644
--- a/package/libodb-mysql/libodb-mysql.mk
+++ b/package/libodb-mysql/libodb-mysql.mk
@@ -12,5 +12,6 @@ LIBODB_MYSQL_INSTALL_STAGING = YES
LIBODB_MYSQL_LICENSE = GPL-2.0
LIBODB_MYSQL_LICENSE_FILES = LICENSE
LIBODB_MYSQL_DEPENDENCIES = libodb mysql
+LIBODB_MYSQL_CONF_ENV = LIBS="$(shell $(STAGING_DIR)/usr/bin/mysql_config --libs)"
$(eval $(autotools-package))
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v2, 1/1] package/libodb-mysql: fix static build
2020-07-14 21:18 [Buildroot] [PATCH v2,1/1] package/libodb-mysql: fix static build Fabrice Fontaine
@ 2020-07-14 21:49 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-07-14 21:49 UTC (permalink / raw)
To: buildroot
On Tue, 14 Jul 2020 23:18:04 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Use mysql_config to help libodb-mysql to retrieve mysql dependencies
> such as -lz
>
> Fixes:
> - http://autobuild.buildroot.org/results/a5447c5105f15606ed562b39ca84c06e7e6b78c0
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> Changes v1 -> v2 (after review of Thomas Petazzoni):
> - Use mysql_config to avoid hardcoding -lz
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-14 21:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-14 21:18 [Buildroot] [PATCH v2,1/1] package/libodb-mysql: fix static build Fabrice Fontaine
2020-07-14 21:49 ` [Buildroot] [PATCH v2, 1/1] " Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox