From 1aa4c4211ecece69f30092f65654c1905f17cad9 Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 20 Mar 2015 08:50:16 +0100 Subject: [PATCH] Fix #223 --- source/backend/Makefile | 6 ++++-- source/bridges-plugin/Makefile | 2 +- source/plugin/Makefile | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/source/backend/Makefile b/source/backend/Makefile index 2e286c774..cde29b328 100644 --- a/source/backend/Makefile +++ b/source/backend/Makefile @@ -68,7 +68,8 @@ endif # ---------------------------------------------------------------------------------------------------------------------------- -STANDALONE_LINK_FLAGS = $(JACKBRIDGE_LIBS) +STANDALONE_LINK_FLAGS = -lm +STANDALONE_LINK_FLAGS += $(JACKBRIDGE_LIBS) STANDALONE_LINK_FLAGS += $(JUCE_AUDIO_BASICS_LIBS) STANDALONE_LINK_FLAGS += $(JUCE_AUDIO_FORMATS_LIBS) STANDALONE_LINK_FLAGS += $(JUCE_CORE_LIBS) @@ -111,7 +112,8 @@ ifeq ($(HAVE_X11),true) STANDALONE_LINK_FLAGS += $(X11_LIBS) endif -UTILS_LINK_FLAGS = $(JUCE_AUDIO_BASICS_LIBS) +UTILS_LINK_FLAGS = -lm +UTILS_LINK_FLAGS += $(JUCE_AUDIO_BASICS_LIBS) UTILS_LINK_FLAGS += $(JUCE_AUDIO_FORMATS_LIBS) UTILS_LINK_FLAGS += $(JUCE_CORE_LIBS) UTILS_LINK_FLAGS += $(LILV_LIBS) diff --git a/source/bridges-plugin/Makefile b/source/bridges-plugin/Makefile index 06a54f20c..6f16e90f4 100644 --- a/source/bridges-plugin/Makefile +++ b/source/bridges-plugin/Makefile @@ -127,7 +127,7 @@ endif # ---------------------------------------------------------------------------------------------------------------------------- NATIVE_BUILD_FLAGS = $(NATIVE_PLUGINS_FLAGS) -NATIVE_LINK_FLAGS = +NATIVE_LINK_FLAGS = -lm ifeq ($(HAVE_FLUIDSYNTH),true) NATIVE_BUILD_FLAGS += $(FLUIDSYNTH_FLAGS) diff --git a/source/plugin/Makefile b/source/plugin/Makefile index 4a5f35cf7..c44fbdf0f 100644 --- a/source/plugin/Makefile +++ b/source/plugin/Makefile @@ -56,6 +56,7 @@ endif # ---------------------------------------------------------------------------------------------------------------------------- # Link flags +LINK_FLAGS += -lm LINK_FLAGS += $(JACKBRIDGE_LIBS) LINK_FLAGS += $(JUCE_AUDIO_BASICS_LIBS) LINK_FLAGS += $(JUCE_AUDIO_FORMATS_LIBS)