makefile: fix hledgerlinux target
This commit is contained in:
parent
a885bb4d89
commit
7435675308
6
Makefile
6
Makefile
@ -59,12 +59,14 @@ hledgermac: setversion
|
|||||||
sudo port deactivate gmp
|
sudo port deactivate gmp
|
||||||
ghc --make hledger.hs -o $(BINARYFILENAME) $(BUILDFLAGS) -O2 -optl-L/usr/lib #-optl-F/Library/Frameworks/GMP
|
ghc --make hledger.hs -o $(BINARYFILENAME) $(BUILDFLAGS) -O2 -optl-L/usr/lib #-optl-F/Library/Frameworks/GMP
|
||||||
sudo port activate gmp
|
sudo port activate gmp
|
||||||
@echo Please check the build depends only on standard system libraries:
|
@echo Please check the build looks portable:
|
||||||
otool -L $(BINARYFILENAME)
|
otool -L $(BINARYFILENAME)
|
||||||
|
|
||||||
# build a deployable binary for gnu/linux, statically linked
|
# build a deployable binary for gnu/linux, statically linked
|
||||||
hledgerlinux: setversion
|
hledgerlinux: setversion
|
||||||
ghc --make hledger.hs -o hledgerlinux $(BUILDFLAGS) -O2 -static -optl-static -optl-pthread
|
ghc --make hledger.hs -o $(BINARYFILENAME) $(BUILDFLAGS) -O2 -static -optl-static -optl-pthread
|
||||||
|
@echo Please check the build looks portable:
|
||||||
|
ldd $(BINARYFILENAME)
|
||||||
|
|
||||||
# build a deployable binary for windows, using cygwin presumably
|
# build a deployable binary for windows, using cygwin presumably
|
||||||
# hledgerwin: setversion
|
# hledgerwin: setversion
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user