Skip to content

Commit

Permalink
Merge pull request #4 from AntonKrug/xpack
Browse files Browse the repository at this point in the history
hidapi_A variable was unused
  • Loading branch information
ilg-ul committed Sep 22, 2020
2 parents 3b776e9 + 15769a9 commit 5905c41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/common-libs-functions-source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -534,11 +534,11 @@ function do_hidapi()

# Make just compiles the file. Create the archive and convert it to library.
# No dynamic/shared libs involved.
ar -r libhid.a "${hidapi_OBJECT}"
${CROSS_COMPILE_PREFIX}-ranlib libhid.a
ar -r "${hidapi_A}" "${hidapi_OBJECT}"
${CROSS_COMPILE_PREFIX}-ranlib "${hidapi_A}"

mkdir -pv "${LIBS_INSTALL_FOLDER_PATH}/lib"
cp -v libhid.a \
cp -v "${hidapi_A}" \
"${LIBS_INSTALL_FOLDER_PATH}/lib"

mkdir -pv "${LIBS_INSTALL_FOLDER_PATH}/lib/pkgconfig"
Expand Down

0 comments on commit 5905c41

Please sign in to comment.