Skip to content

Instantly share code, notes, and snippets.

@pgriess
Created June 9, 2010 19:49
Show Gist options
  • Save pgriess/432072 to your computer and use it in GitHub Desktop.
Save pgriess/432072 to your computer and use it in GitHub Desktop.
diff --git a/Makefile b/Makefile
index 61853d8..53bb61d 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,8 @@ msgpack: deps/msgpack/dist/lib/libmsgpack.a
deps/msgpack/dist/lib/libmsgpack.a:
cd deps/msgpack && \
mkdir -p dist && \
- ./configure --enable-static --disable-shared \
+ ./configure CFLAGS="-fPIC" CXXFLAGS="-fPIC" \
+ --enable-static --disable-shared \
--prefix=$(PWD)/deps/msgpack/dist && \
make && \
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment