-
Notifications
You must be signed in to change notification settings - Fork 3
/
makeso.sh
executable file
·23 lines (23 loc) · 1.18 KB
/
makeso.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#affentry.o csutil.o hashmgr.o suggestmgr.o
#affixmgr.o dictmgr.o hunspell.o utf_info.o
g++ -I. -I../.. -fPIC -g -c -Wall suggestmgr.cxx
g++ -I. -I../.. -fPIC -g -c -Wall affentry.cxx
g++ -I. -I../.. -fPIC -g -c -Wall csutil.cxx
g++ -I. -I../.. -fPIC -g -c -Wall hashmgr.cxx
g++ -I. -I../.. -fPIC -g -c -Wall hunspell.cxx
g++ -I. -I../.. -fPIC -g -c -Wall affixmgr.cxx
g++ -I. -I../.. -fPIC -g -c -Wall dictmgr.cxx
g++ -I. -I../.. -fPIC -g -c -Wall hunzip.cxx
g++ -I. -I../.. -fPIC -g -c -Wall replist.cxx
g++ -I. -I../.. -fPIC -g -c -Wall filemgr.cxx
g++ -I. -I../.. -fPIC -g -c -Wall phonet.cxx
g++ -I. -I../.. -fPIC -g -c -Wall utf_info.cxx
g++ -shared -Wl,-soname,libhunspell.so.1 -o libhunspell.so.1.0.1 affentry.o csutil.o hashmgr.o suggestmgr.o affixmgr.o dictmgr.o hunzip.o replist.o filemgr.o phonet.o hunspell.o utf_info.o -lc
# cp libhunspell.so.1.0.1 /usr/local/lib
# to link (otherwise ld does not find .so):
# ln -s /usr/local/lib/libhunspell.so.1.0.1 /usr/local/lib/libhunspell.so
# to execute: (otherwise .so library not found):
# ln -s /usr/local/lib/libhunspell.so.1.0.1 /usr/lib/libhunspell.so.1
# ls -l /lib/libhu*
# ls -l /usr/lib/libhu*
# ls -l /usr/local/lib/libhu*