mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 14:48:34 +00:00
Set correct libcroot
This commit is contained in:
parent
821298947e
commit
9e0fc902ab
@ -12,8 +12,7 @@ unpack() {
|
||||
|
||||
build() {
|
||||
pushd src/dropbear-2013.56
|
||||
CC=x86_64-linux-musl-gcc ./configure CFLAGS="-I$libcroot/include" \
|
||||
LDFLAGS="-static -L$libcroot/lib" --prefix=$root || return 1
|
||||
CC=x86_64-linux-musl-gcc ./configure LDFLAGS=-static --prefix=$root || return 1
|
||||
for i in UTMP WTMP PUTUTLINE PUTUTXLINE SYSLOG LASTLOG; do
|
||||
echo "#define DISABLE_$i" >> config.h
|
||||
done
|
||||
|
@ -12,9 +12,7 @@ unpack() {
|
||||
|
||||
build() {
|
||||
pushd src/tmux-1.8
|
||||
CC=x86_64-linux-musl-gcc ./configure --prefix=$root \
|
||||
CFLAGS="-I$libcroot/include -I$libcroot/include/ncurses" \
|
||||
LDFLAGS="-static -L$libcroot/lib" || return 1
|
||||
CC=x86_64-linux-musl-gcc ./configure --prefix=$root LDFLAGS=-static || return 1
|
||||
make -j$nprocs || return 1
|
||||
popd
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
top=$(pwd)
|
||||
root=$top/root
|
||||
libcroot=$top/cross/x86_64-linux-musl
|
||||
libcroot=$top/cross/x86_64-linux-musl/x86_64-linux-musl
|
||||
nprocs=4
|
||||
arch=x86_64
|
||||
version=0.0
|
||||
mirror=http://dl.2f30.org/morpheus-pkgs/$arch/$version
|
||||
export top root libcroot nprocs mirror
|
||||
|
||||
PATH=$libcroot/bin:$PATH
|
||||
PATH=$top/cross/x86_64-linux-musl/bin:$PATH
|
||||
export PATH
|
||||
|
Loading…
Reference in New Issue
Block a user