https://github.com/auxten/static-libicu
Static libicu 64.2
https://github.com/auxten/static-libicu
Last synced: 3 months ago
JSON representation
Static libicu 64.2
- Host: GitHub
- URL: https://github.com/auxten/static-libicu
- Owner: auxten
- License: other
- Created: 2019-06-20T05:01:48.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-20T05:46:53.000Z (almost 6 years ago)
- Last Synced: 2025-01-09T07:29:47.426Z (5 months ago)
- Language: C++
- Size: 22.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# static-libicu
Static libicu 64.2 originally for static building of SQLite 3.28.0 FTS unicode tokenizerTested on Linux 4.15.0-34-generic, and should work on other Linux or MacOS. Just change the first arg of `runConfigureICU`.
Most Code are original icu4c 64.2. with some fix:
1. Fix dos format line feed
1. Fix missing dirs## Start
```bash
#Just run, everything will be installed into ./libicu
./build.sh
``````bash
# The `-lxxx` order is important!
LDFLAGS: -licui18n -licuuc -licudata -lm -lstdc++
# Must have this defined
CFLAGS: -DU_STATIC_IMPLEMENTATION
```## How
The `build.sh`
```bash
cd source && \
CFLAGS="-fPIC" CXXFLAGS="-fPIC" ./runConfigureICU Linux --enable-static --enable-shared --prefix=`pwd`/../libicu && \
make -j16 && \
make install
```