Skip to content

Commit

Permalink
Rebuild staden_io_lib recipe (#52872)
Browse files Browse the repository at this point in the history
  • Loading branch information
mencian authored Dec 18, 2024
1 parent f621b02 commit 8b3680b
Show file tree
Hide file tree
Showing 5 changed files with 3,807 additions and 23 deletions.
18 changes: 17 additions & 1 deletion recipes/staden_io_lib/build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
#!/bin/bash

export M4="${BUILD_PREFIX}/bin/m4"
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"

if [[ "$(uname)" == "Darwin" ]]; then
export LDFLAGS="${LDFLAGS} -Wl,-rpath,${PREFIX}/lib"
fi

cp -rf ${RECIPE_DIR}/config.* .

cd htscodecs
autoreconf -if

cd ..

autoreconf -if
./configure --prefix=${PREFIX} --with-libdeflate=${PREFIX}
./configure --prefix="${PREFIX}" --with-libdeflate="${PREFIX}" \
--with-libcurl="${PREFIX}" --with-zlib="${PREFIX}" \
--with-zstd="${PREFIX}" CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include" \
LDFLAGS="${LDFLAGS}" CC="${CC}" CFLAGS="${CFLAGS} -O3 -L${PREFIX}/lib" \
--disable-shared
make -j"${CPU_COUNT}"
make install

Expand Down
Loading

0 comments on commit 8b3680b

Please sign in to comment.