parent
c36e4f09b4
commit
0506c576bd
1 changed files with 4 additions and 4 deletions
|
@ -9,11 +9,11 @@ short_desc="Total Commander filemanager ncurses clone"
|
|||
maintainer="Harri Leino <mr.leino@gmail.com>"
|
||||
license="GPL-3"
|
||||
distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.gz"
|
||||
checksum=f5d3bcd5913eb16cfe5a06ee9feeb8617924cc364607efe7560bf9bce7af45b6
|
||||
checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
|
||||
|
||||
LIBS="-lncurses"
|
||||
_LIBS="-lncurses"
|
||||
|
||||
pre_build() {
|
||||
# Fix missing $(LDFLAGS) and wrong order of $^ and $(LIBS) when linking
|
||||
sed -i Makefile -e 's;$(CC) $(CFLAGS) $(LIBS) $^ -o $@;$(CC) $(LDFLAGS) $^ $(LIBS) -o $@;'
|
||||
# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking
|
||||
sed -i Makefile -e 's;$(CC) $(CFLAGS) $(_LIBS) $^ -o $@;$(CC) $(LDFLAGS) $^ $(_LIBS) -o $@;'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue