package/dmalloc: fix static build
PATCH v2 1/1 package/dmalloc: fix static build
Build of dmalloc is broken since commit 19ec872f169a851b48ba04d22432b7c0939847d4 because --enable-shlib is unconditionally set
Fixes:
- http://autobuild.buildroot.org/results/62c9c6aebca60649bd6f635125507bf10d63fc05
---
Changes v1 -> v2 (after review of Yann E. Morin):
- Don't unconditionally set --enable-shlib
package/dmalloc/dmalloc.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
package/dmalloc/dmalloc.mk +4 -2
@@ -13,10 +13,12 @@ DMALLOC_LICENSE = MIT-like DMALLOC_LICENSE_FILES = dmalloc.h.1 DMALLOC_INSTALL_STAGING = YES -DMALLOC_CONF_OPTS = --enable-shlib DMALLOC_CFLAGS = $(TARGET_CFLAGS) -ifeq ($(BR2_STATIC_LIBS),) +ifeq ($(BR2_STATIC_LIBS),y) +DMALLOC_CONF_OPTS += --disable-shlib +else +DMALLOC_CONF_OPTS += --enable-shlib DMALLOC_CFLAGS += -fPIC endif
Signature · 1 line
2.30.2
Yann E. MORIN
AppliedPATCH v2 1/1 package/dmalloc: fix static build
Fabrice, All,
On 2021-05-15 17:17 +0200, Fabrice Fontaine spake thusly:
Quoted 8 lines
Build of dmalloc is broken since commit
19ec872f169a851b48ba04d22432b7c0939847d4because --enable-shlib is unconditionally setFixes:
- http://autobuild.buildroot.org/results/62c9c6aebca60649bd6f635125507bf10d63fc05Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 33 lines
---
Changes v1 -> v2 (after review of Yann E. Morin):
- Don't unconditionally set --enable-shlibpackage/dmalloc/dmalloc.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)package/dmalloc/dmalloc.mk +4
-2@@ -13,10 +13,12 @@ DMALLOC_LICENSE = MIT-like DMALLOC_LICENSE_FILES = dmalloc.h.1 DMALLOC_INSTALL_STAGING = YES -DMALLOC_CONF_OPTS = --enable-shlib DMALLOC_CFLAGS = $(TARGET_CFLAGS) -ifeq ($(BR2_STATIC_LIBS),) +ifeq ($(BR2_STATIC_LIBS),y) +DMALLOC_CONF_OPTS += --disable-shlib +else +DMALLOC_CONF_OPTS += --enable-shlib DMALLOC_CFLAGS += -fPIC endifSignature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 1/1 package/dmalloc: fix static build
In reply to Fabrice FontaineQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Build of dmalloc is broken since commit
19ec872f169a851b48ba04d22432b7c0939847d4because --enable-shlib is unconditionally set
Quoted 7 lines
Fixes:
- http://autobuild.buildroot.org/results/62c9c6aebca60649bd6f635125507bf10d63fc05Signed-off-by Fabrice Fontaine <[email protected]>---
Changes v1 -> v2 (after review of Yann E. Morin):
- Don't unconditionally set --enable-shlib
Committed to 2021.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard