package/armadillo: fix static build
PATCH 1/1 package/armadillo: fix static build
By default, the library is generated as shared. Therefore, if BR2_STATIC_LIBS is selected, let's require the creation of a static library.
Fixes:
- https://autobuild.buildroot.org/results/fdaf2028b97f60bc01d22d3caeb9a6432d92b598
--- package/armadillo/armadillo.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/armadillo/armadillo.mk +4 -0
@@ -30,4 +30,8 @@ ARMADILLO_CONF_OPTS += -DLAPACK_FOUND=ON ARMADILLO_DEPENDENCIES += lapack endif +ifeq ($(BR2_STATIC_LIBS),y) +ARMADILLO_CONF_OPTS += -DSTATIC_LIB=ON +endif + $(eval $(cmake-package))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Julien Olivain
AppliedQuoted 9 lines · Dario Binacchi
By default, the library is generated as shared. Therefore, if
BR2_STATIC_LIBSis selected, let's require the creation of a static library.Fixes:
-
https://autobuild.buildroot.org/results/fdaf2028b97f60bc01d22d3caeb9a6432d92b598Signed-off-by Dario Binacchi <[email protected]>
Applied to master, thanks.
Quoted 20 lines
--- package/armadillo/armadillo.mk | 4 ++++ 1 file changed, 4 insertions(+)package/armadillo/armadillo.mk +4
-1@@ -30,4 +30,8 @@ ARMADILLO_CONF_OPTS += -DLAPACK_FOUND=ON ARMADILLO_DEPENDENCIES += lapack endif +ifeq ($(BR2_STATIC_LIBS),y) +ARMADILLO_CONF_OPTS += -DSTATIC_LIB=ON +endif + $(eval $(cmake-package)) --2.43.0
Quoted 4 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot