git.iko.soy/typeable/pandoc
on master help sign in
make_osx_package.sh: Use linker options to ensure OSX 10.6+ compatibility.
commit222a51bf99bc6b0bfc6be6ebc03159a0ad875e4f authorJohn MacFarlane <fiddlosopher@gmail.com> dateTue 13 May 2014, 23:34 (12 years ago) parentdfcc32a
1 file changed+2−2
make_osx_package.sh+2−2
make_osx_package.sh+2−2
@@ -29,8 +29,8 @@ echo Building pandoc...
2929cabal clean
3030# Use cpphs to avoid problems with clang cpp on ghc 7.8 osx:
3131cabal install cpphs alex happy hsb2hs
32−cabal install --reinstall --flags="embed_data_files" --ghc-options '-pgmPcpphs -optP--cpp'
33−cabal install --reinstall --flags="embed_data_files" pandoc-citeproc --ghc-options '-pgmPcpphs -optP--cpp'
32+cabal install --ghc-options="-optl-mmacosx-version-min=10.6" --reinstall --flags="embed_data_files" --ghc-options '-pgmPcpphs -optP--cpp'
33+cabal install --ghc-options="-optl-mmacosx-version-min=10.6" --reinstall --flags="embed_data_files" pandoc-citeproc --ghc-options '-pgmPcpphs -optP--cpp'
3434
3535mkdir -p $DEST/bin
3636mkdir -p $DEST/share/man/man1