Explicitly link the against libm. NetBSD requires this

This commit is contained in:
Sanel Zukan 2009-10-07 10:50:10 +00:00
parent 7965fc1383
commit a0e27e657e
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ TranslationStrings locale : $(SOURCE) ;
EdeManual doc/ede-tip.txt : doc/ede-tip.jpg ; EdeManual doc/ede-tip.txt : doc/ede-tip.jpg ;
ProgramBare ede-tip-compiler : ede-tip-compiler.c ; ProgramBare ede-tip-compiler : ede-tip-compiler.c ;
LinkAgainst ede-tip-compiler : $(LIBM) ;
# this rule is for compiling fortune files # this rule is for compiling fortune files
rule FortuneCompile rule FortuneCompile

View File

@ -19,6 +19,6 @@ ObjectC++Flags $(SOURCE) : -Wno-long-long
$(HALINCLUDE) ; $(HALINCLUDE) ;
Main emountd : $(SOURCE) ; Main emountd : $(SOURCE) ;
LinkAgainst emountd : $(EDELIBLIB) $(HALLIB) $(STDLIB) ; LinkAgainst emountd : $(EDELIBLIB) $(HALLIB) $(STDLIB) $(LIBM) ;
InstallEdeProgram emountd ; InstallEdeProgram emountd ;
EdeManual emountd.txt ; EdeManual emountd.txt ;