Seems like using dllimport on Windows wasn't useful
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Thu, 31 May 2012 15:50:33 +0000 (11:50 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Thu, 31 May 2012 15:50:33 +0000 (11:50 -0400)
This was a problem for static builds

include/opus_defines.h

index 2aa574e..d984f99 100644 (file)
@@ -69,7 +69,7 @@ extern "C" {
 # ifdef OPUS_BUILD
 #   define OPUS_EXPORT __declspec(dllexport)
 # else
-#   define OPUS_EXPORT __declspec(dllimport)
+#   define OPUS_EXPORT
 # endif
 #else
 # define OPUS_EXPORT