Browse Source

Fixed haskell/demangle linker errors on systems without static ghc libs

Arch Linux does not install static ghc libraries by default. Running "make run"
without this commit leads to linker errors during the compilation of
haskell/demangle. Compiling demangle with -dynamic fixes this issue.
dev/git-series/gccdum
Tim Rakowski 5 years ago
parent
commit
ddd31f5505
  1. 2
      haskell/Makefile

2
haskell/Makefile

@ -1,6 +1,6 @@
GHC?=ghc
demangle: demangle.hs
$(GHC) -package ghc demangle.hs
$(GHC) -package ghc -dynamic demangle.hs
clean:
rm demangle.o demangle demangle.hi

Loading…
Cancel
Save