Skip to content

Commit

Permalink
dfsg: build: drop redundant lib files manipulation
Browse files Browse the repository at this point in the history
Signed-off-by: You-Sheng Yang <vicamo.yang@canonical.com>
  • Loading branch information
vicamo committed Aug 31, 2023
1 parent 3636432 commit c740e6f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ function print_helper() {
echo
}

standardize_pkg_config_path(){
if [[ ! -f $1 ]]; then echo "file $1 not exsist."; exit 0; fi
sed -i '1c prefix=\/usr' $*
}

function build_target() {
rm -fr build && mkdir -p build && cd build

Expand Down Expand Up @@ -145,8 +140,6 @@ function build_icamerasrc() {

make install
check_result $? $FUNCNAME
find $INSTALL_DIR/install/ -name "*.la" -exec rm -f "{}" \;
standardize_pkg_config_path ${INSTALL_DIR}/install/lib/pkgconfig/libgsticamerasrc.pc
}

function main () {
Expand Down

0 comments on commit c740e6f

Please sign in to comment.