Created
June 9, 2010 19:49
-
-
Save pgriess/432072 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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