summaryrefslogtreecommitdiffstats
path: root/graphics/libfpx/export-symbols.patch
blob: dfb974bc7164ce47291f8e2473ebae63e23f056a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
* At least the Darwin linker doesn't like double symbols during the
  final linking stage...

--- a/jpeg/jpegconf.h
+++ b/jpeg/jpegconf.h
@@ -27,6 +27,6 @@
 #   pragma warning(disable : 4244)
 #   pragma warning(disable : 4142)
 #else
-#   define JPEGEXPORT
-#   define FPXEXPORT
+#   define JPEGEXPORT extern
+#   define FPXEXPORT extern
 #endif