2023-04-04 05:43:30 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License as published by the Free Software Foundation version 2.1
|
|
|
|
# of the License.
|
|
|
|
#
|
|
|
|
# Copyright(c) 2023 Huawei Device Co., Ltd.
|
|
|
|
|
|
|
|
set -e
|
|
|
|
cd $1
|
2024-01-15 07:13:03 +00:00
|
|
|
if [ -d "libnl-3.7.0" ];then
|
|
|
|
rm -rf libnl-3.7.0
|
2023-04-04 05:43:30 +00:00
|
|
|
fi
|
2024-01-15 07:13:03 +00:00
|
|
|
tar xvf libnl-3.7.0.tar.gz
|
|
|
|
cd $1/libnl-3.7.0
|
2023-04-04 05:43:30 +00:00
|
|
|
./configure
|
2024-06-01 09:21:56 +00:00
|
|
|
patch -p1 < $1/slove-oh-update-sp3.patch --fuzz=0 --no-backup-if-mismatch
|
2023-04-24 07:08:31 +00:00
|
|
|
patch -p1 < $1/solve-oh-compile-problem.patch --fuzz=0 --no-backup-if-mismatch
|
2024-08-08 07:24:09 +00:00
|
|
|
patch -p1 < $1/slove-oh-bug-fix.patch --fuzz=0 --no-backup-if-mismatch
|
2023-04-04 05:43:30 +00:00
|
|
|
exit 0
|