From b309a6f9017d9dc32b422d47d88e88e19495cf1e Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 17 Jan 2012 16:43:07 -0800 Subject: [PATCH] fix Mach-O shared library build Add extern to kChunks[] in muxi.h. Fixes: ld: duplicate symbol _kChunks in .libs/muxinternal.o and .libs/muxedit.o Change-Id: Ibeb060f7fdec5fe904097a2443f0cda2f7ede884 --- src/mux/muxi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mux/muxi.h b/src/mux/muxi.h index c1c86d3a..5006fc99 100644 --- a/src/mux/muxi.h +++ b/src/mux/muxi.h @@ -103,7 +103,7 @@ typedef struct { uint32_t chunkSize; } ChunkInfo; -const ChunkInfo kChunks[LIST_ID + 1]; +extern const ChunkInfo kChunks[LIST_ID + 1]; //------------------------------------------------------------------------------ // Helper functions.