File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ others/jansson
16
16
others /lib60870
17
17
others /libiec61850
18
18
others /S2OPC
19
- others /expat-2.6.0
19
+ others /libexpat
20
20
others /check-0.15.2
21
21
others /mbedtls-2.28.7
22
22
others /* .tar.gz
Original file line number Diff line number Diff line change 48
48
# libexpat:
49
49
cd ${git_root}
50
50
libexpat_version=" 2.6.0"
51
- rm -rf expat- ${libexpat_version} .tar.gz expat- ${libexpat_version}
52
- wget https://github.com/libexpat/libexpat/releases/download/R_2_6_0/expat- ${libexpat_version} .tar.gz
53
- tar xzvf expat- ${libexpat_version} .tar.gz
51
+ libexpat_branch= " R_ ${libexpat_version// . / _} "
52
+ rm -rf libexpat
53
+ git clone https://github.com/libexpat/libexpat.git --branch ${libexpat_branch} --depth 1
54
54
(
55
- cd expat-${libexpat_version}
56
- mkdir build
57
- cd build
58
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DEXPAT_SHARED_LIBS=ON ..
59
- make
55
+ cd libexpat/expat
56
+ ./buildconf.sh && \
57
+ ./configure && \
58
+ make && \
60
59
sudo make install
61
60
)
62
61
You can’t perform that action at this time.
0 commit comments