Blame view

3rdparty/build_osip.sh 548 Bytes
73ef4ff3   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  #!/bin/bash
  currentPath=$(pwd)
  
  libPath=/home/cmhu/sip_server/3rdparty/libosip2-5.3.0
  
  if [ -d "./libosip" ]; then
      rm -rf libosip
  fi
  mkdir libosip
  cd libosip
  installPath=$(pwd)
  
  cd ${libPath}
  ./configure  --build=x86_64-arm-linux --host=x86_64-arm-linux --target=x86_64-arm-linux --disable-openssl --prefix=/home/cmhu/sip_server/3rdparty/libosip2-5.3.0/release
  make -j
  make install
  cd ${currentPath}
  
  # 执行make时遇到问题,找了篇帖子解决了,原因不详细  // TODO 研究
  # aclocal-1.14: command not found
  # autoreconf -ivf