From 385477d3ba7030410905338157b2e98f34c17c60 Mon Sep 17 00:00:00 2001 From: sethbrin Date: Sun, 1 Jan 2017 13:11:38 +0800 Subject: [PATCH] fix bug in fedora building, use pkg to find find the right library name --- make/mshadow.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/mshadow.mk b/make/mshadow.mk index a586ee85..252983fb 100644 --- a/make/mshadow.mk +++ b/make/mshadow.mk @@ -65,7 +65,7 @@ endif ifeq ($(USE_BLAS), openblas) MSHADOW_LDFLAGS += -lopenblas else ifeq ($(USE_BLAS), atlas) - MSHADOW_LDFLAGS += -lcblas + MSHADOW_LDFLAGS += $(shell pkg-config --libs atlas) else ifeq ($(USE_BLAS), blas) MSHADOW_LDFLAGS += -lblas else ifeq ($(USE_BLAS), apple)