diff --git a/GLFW-b.cabal b/GLFW-b.cabal
--- a/GLFW-b.cabal
+++ b/GLFW-b.cabal
@@ -1,5 +1,5 @@
 name:         GLFW-b
-version:      0.0.2.7
+version:      0.0.2.8
 
 category:     Graphics
 
@@ -112,6 +112,7 @@
     if os(darwin)
       extra-libraries: glfw
       extra-lib-dirs: build
+      ghc-options: -fPIC
     else
       if os(mingw32)
         include-dirs:
@@ -129,7 +130,7 @@
         extra-libraries:
           opengl32
 
-  ghc-options: -Wall -O2 -fPIC
+  ghc-options: -Wall -O2
   if impl(ghc >= 6.8)
     ghc-options: -fwarn-tabs
 
