From 6cd6b9bfdc90b2ffe6ddcee6ffb522847224c349 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Tue, 6 Feb 2018 02:26:00 +0200 Subject: [PATCH] Minor adjustment to standalone linker flags. --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 24b3a71a..e97cc8b9 100644 --- a/Makefile +++ b/Makefile @@ -113,9 +113,11 @@ else endif ifdef STANDALONE - SQ_DYNAMIC_LINKER_OPTIONS_ += -static -else - SQ_DYNAMIC_LINKER_OPTIONS_ += -Bstatic + ifeq ($(SQ_PLAT),win) + SQ_DYNAMIC_LINKER_OPTIONS_ += -static + else + SQ_DYNAMIC_LINKER_OPTIONS_ += -Bstatic + endif endif SQ_DEFINES += -DSCRAT_USE_EXCEPTION -DSCRAT_USE_CXX11_OPTIMIZATIONS