mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-25 08:55:55 +00:00
make_osx_package.sh: Use linker options to ensure OSX 10.6+ compatibility.
This commit is contained in:
+2
-2
@@ -29,8 +29,8 @@ echo Building pandoc...
|
||||
cabal clean
|
||||
# Use cpphs to avoid problems with clang cpp on ghc 7.8 osx:
|
||||
cabal install cpphs alex happy hsb2hs
|
||||
cabal install --reinstall --flags="embed_data_files" --ghc-options '-pgmPcpphs -optP--cpp'
|
||||
cabal install --reinstall --flags="embed_data_files" pandoc-citeproc --ghc-options '-pgmPcpphs -optP--cpp'
|
||||
cabal install --ghc-options="-optl-mmacosx-version-min=10.6" --reinstall --flags="embed_data_files" --ghc-options '-pgmPcpphs -optP--cpp'
|
||||
cabal install --ghc-options="-optl-mmacosx-version-min=10.6" --reinstall --flags="embed_data_files" pandoc-citeproc --ghc-options '-pgmPcpphs -optP--cpp'
|
||||
|
||||
mkdir -p $DEST/bin
|
||||
mkdir -p $DEST/share/man/man1
|
||||
|
||||
Reference in New Issue
Block a user