|
|
@@ -594,6 +594,7 @@ LIBRHASH_C_SOURCES="\
|
|
|
librhash/sha256.c \
|
|
|
librhash/sha3.c \
|
|
|
librhash/sha512.c \
|
|
|
+ librhash/util.c \
|
|
|
"
|
|
|
|
|
|
JSONCPP_CXX_SOURCES="\
|
|
|
@@ -1792,6 +1793,7 @@ else
|
|
|
libs="${libs} -luv"
|
|
|
fi
|
|
|
|
|
|
+librhash_c_flags="-DNO_IMPORT_EXPORT"
|
|
|
if test "x${bootstrap_system_librhash}" != "x"; then
|
|
|
if test `which pkg-config`; then
|
|
|
use_librhash_flags="`pkg-config --cflags librhash`"
|
|
|
@@ -1946,7 +1948,7 @@ fi
|
|
|
if test "x${bootstrap_system_librhash}" = "x"; then
|
|
|
for a in ${LIBRHASH_C_SOURCES}; do
|
|
|
src=`cmake_escape_artifact "${cmake_source_dir}/Utilities/cmlibrhash/${a}"`
|
|
|
- write_source_rule "c" "rhash-`cmake_obj ${a}`" "${src}" ""
|
|
|
+ write_source_rule "c" "rhash-`cmake_obj ${a}`" "${src}" "${librhash_c_flags}"
|
|
|
done
|
|
|
fi
|
|
|
if test "x${bootstrap_system_jsoncpp}" = "x"; then
|