package/hiredis: fix debug install
PATCH 1/1 package/hiredis: fix debug install
hiredis suffix its debug libraries with "d" since version 1.1.0 and
https://github.com/redis/hiredis/commit/dde6916b42a4723b364355eff8fbb477723a789a
resulting in the following build failure with collectd since commit bd7e90779861bb603fc1cca03f6fad4d951f7bd9:
redis . . . . . . . . no (symbol 'redisCommand' not found) (dependency error)
Fixes:
- http://autobuild.buildroot.org/results/394ebf2b6816c69dbdd7901491c0e3fd52befedc
--- package/hiredis/hiredis.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
package/hiredis/hiredis.mk +3 -1
@@ -11,7 +11,9 @@ HIREDIS_LICENSE = BSD-3-Clause HIREDIS_LICENSE_FILES = COPYING HIREDIS_CPE_ID_VENDOR = redis HIREDIS_INSTALL_STAGING = YES -HIREDIS_CONF_OPTS = -DDISABLE_TESTS=ON +# Set CMAKE_BUILD_TYPE to Release or the libraries will be suffixed with "d" +# resulting in a build failure with collectd +HIREDIS_CONF_OPTS = -DCMAKE_BUILD_TYPE=Release -DDISABLE_TESTS=ON ifeq ($(BR2_PACKAGE_OPENSSL)$(BR2_TOOLCHAIN_HAS_THREADS),yy) HIREDIS_CONF_OPTS += -DENABLE_SSL=ON
Signature · 6 lines
2.35.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 22 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
hiredis suffix its debug libraries with "d" since version 1.1.0 and
https://github.com/redis/hiredis/commit/dde6916b42a4723b364355eff8fbb477723a789a
resulting in the following build failure with collectd since commitbd7e90779861bb603fc1cca03f6fad4d951f7bd9:redis . . . . . . . . no (symbol 'redisCommand' not found) (dependency error)
Fixes:
- http://autobuild.buildroot.org/results/394ebf2b6816c69dbdd7901491c0e3fd52befedcSigned-off-by Fabrice Fontaine <[email protected]>--- package/hiredis/hiredis.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)package/hiredis/hiredis.mk +0
-0
package/hiredis/hiredis.mk HIREDIS_LICENSE = BSD-3-Clause · line 12
Quoted 2 lines
package/hiredis/hiredis.mk +0
-0@@ -11,7 +11,9 @@ HIREDIS_LICENSE = BSD-3-Clause HIREDIS_LICENSE_FILES = COPYING HIREDIS_CPE_ID_VENDOR = redis
Local change? On master this is set to redislabs
package/hiredis/hiredis.mk HIREDIS_LICENSE = BSD-3-Clause · line 16
Quoted 5 lines
package/hiredis/hiredis.mk +3
-1HIREDIS_INSTALL_STAGING = YES -HIREDIS_CONF_OPTS = -DDISABLE_TESTS=ON +# Set CMAKE_BUILD_TYPE to Release or the libraries will be suffixed with "d" +# resulting in a build failure with collectd +HIREDIS_CONF_OPTS = -DCMAKE_BUILD_TYPE=Release -DDISABLE_TESTS=ON
Committed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot