diff --git a/src/util.cpp b/src/util.cpp index 8cf0df97..64aad045 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -9,6 +9,11 @@ using namespace Harp; using namespace std; +// Make it easy for autotools-based build systems to detect this library. +extern "C" { + int harplib_present = 1; +}; + void Harp::wordToBytes(Byte *b, Word_u w, Size wordSize) { while (wordSize--) { *(b++) = w & 0xff;