Skip to content

Instantly share code, notes, and snippets.

@shawnchin
Created January 7, 2013 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shawnchin/4474813 to your computer and use it in GitHub Desktop.
Save shawnchin/4474813 to your computer and use it in GitHub Desktop.
Index: flame2/api/Makefile.am
===================================================================
--- flame2/api/Makefile.am (revision 977)
+++ flame2/api/Makefile.am (working copy)
@@ -15,7 +15,9 @@
# Note: flame2.h is installed by the master Makefile.am
-module_sources =
+# compile dummy file so "ar" on OSX does not choke on empty archive
+module_sources = dummy.cpp
+
#module_sources = \
# compatibility_manager.cpp \
# flame_compat_c.cpp
Index: flame2/api/dummy.cpp
===================================================================
--- flame2/api/dummy.cpp (revision 0)
+++ flame2/api/dummy.cpp (revision 0)
@@ -0,0 +1 @@
+#include "flame2/config.hpp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment