From a0e27e657ea41f56482094f23a538ac06a061ebb Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Wed, 7 Oct 2009 10:50:10 +0000 Subject: [PATCH] Explicitly link the against libm. NetBSD requires this --- ede-tip/Jamfile | 1 + emountd/Jamfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ede-tip/Jamfile b/ede-tip/Jamfile index bbca3b9..b52c17f 100644 --- a/ede-tip/Jamfile +++ b/ede-tip/Jamfile @@ -17,6 +17,7 @@ TranslationStrings locale : $(SOURCE) ; EdeManual doc/ede-tip.txt : doc/ede-tip.jpg ; ProgramBare ede-tip-compiler : ede-tip-compiler.c ; +LinkAgainst ede-tip-compiler : $(LIBM) ; # this rule is for compiling fortune files rule FortuneCompile diff --git a/emountd/Jamfile b/emountd/Jamfile index 2d1921a..7b0f186 100644 --- a/emountd/Jamfile +++ b/emountd/Jamfile @@ -19,6 +19,6 @@ ObjectC++Flags $(SOURCE) : -Wno-long-long $(HALINCLUDE) ; Main emountd : $(SOURCE) ; -LinkAgainst emountd : $(EDELIBLIB) $(HALLIB) $(STDLIB) ; +LinkAgainst emountd : $(EDELIBLIB) $(HALLIB) $(STDLIB) $(LIBM) ; InstallEdeProgram emountd ; EdeManual emountd.txt ;