]> granicus.if.org Git - liblinear/commitdiff
Modify SHVER from 1 to 2.
authoryong <yong.zhuang22@gmail.com>
Fri, 21 Mar 2014 14:54:24 +0000 (22:54 +0800)
committeryong <yong.zhuang22@gmail.com>
Fri, 21 Mar 2014 14:54:24 +0000 (22:54 +0800)
Makefile
python/liblinear.py

index 7a74e26af9a377205258e49a256e9aebbe970908..ac6a32a7a156bff6e762194541378315670af0ad 100644 (file)
--- 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
 
index a207c49b0a62e2b5516e8e3f3600935a163c9c98..584687f0d416976d08748d289737e2351c7e34a4 100644 (file)
@@ -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'):