From 51acae7aad2fee72bae550bd18a351e207a4215e Mon Sep 17 00:00:00 2001 From: yong Date: Fri, 21 Mar 2014 22:54:24 +0800 Subject: [PATCH] Modify SHVER from 1 to 2. --- Makefile | 2 +- python/liblinear.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7a74e26..ac6a32a 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CXX ?= g++ CC ?= gcc CFLAGS = -Wall -Wconversion -O3 -fPIC LIBS = blas/blas.a -SHVER = 1 +SHVER = 2 OS = $(shell uname) #LIBS = -lblas diff --git a/python/liblinear.py b/python/liblinear.py index a207c49..584687f 100644 --- a/python/liblinear.py +++ b/python/liblinear.py @@ -10,7 +10,7 @@ try: if sys.platform == 'win32': liblinear = CDLL(path.join(dirname, r'..\windows\liblinear.dll')) else: - liblinear = CDLL(path.join(dirname, '../liblinear.so.1')) + liblinear = CDLL(path.join(dirname, '../liblinear.so.2')) except: # For unix the prefix 'lib' is not considered. if find_library('linear'): -- 2.50.1