Skip to content

Commit

Permalink
fix(main/libbsd): Fix linker script error
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 committed Aug 19, 2024
1 parent 3c2778d commit 344f345
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/libbsd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@ TERMUX_PKG_HOMEPAGE=https://libbsd.freedesktop.org
TERMUX_PKG_DESCRIPTION="utility functions from BSD systems"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.11.7
TERMUX_PKG_VERSION="0.11.7"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://libbsd.freedesktop.org/releases/libbsd-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=9baa186059ebbf25c06308e9f991fda31f7183c0f24931826d83aa6abd8a0261
TERMUX_PKG_DEPENDS="libmd"
TERMUX_PKG_BREAKS="libbsd-dev"
TERMUX_PKG_REPLACES="libbsd-dev"
TERMUX_PKG_BUILD_IN_SRC=true

termux_step_pre_configure() {
# Fix linker script error
LDFLAGS+=" -Wl,--undefined-version"
}

0 comments on commit 344f345

Please sign in to comment.