From f31e9347844d8a708dd166ecfb7d6587d36c3d03 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 8 Dec 2010 19:20:11 -0700 Subject: Prevent complaint on OSX: "ranlib: file: libgnu.a(dummy.o) has no symbols" --- lib/dummy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/dummy.c b/lib/dummy.c index 0f9a2779..deffd32b 100644 --- a/lib/dummy.c +++ b/lib/dummy.c @@ -32,7 +32,7 @@ Compiling this file, and adding its object file to the library, will prevent the library from exporting no symbols. */ -#ifdef __sun +#if defined __sun || defined __APPLE__ /* This declaration ensures that the library will export at least 1 symbol. */ int gl_dummy_symbol; #else -- cgit v1.2.3