fbpdf: fix build
This commit is contained in:
parent
1acf222ef1
commit
2d88aa802a
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ _gitshort="${_githash:0:7}"
|
|||
wrksrc="fbpdf-${_gitshort}"
|
||||
build_style=gnu-makefile
|
||||
makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel
|
||||
mupdf-devel"
|
||||
gumbo-parser-devel mupdf-devel"
|
||||
short_desc="Small framebuffer PDF/DJVU viewer"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="ISC"
|
||||
|
@ -17,7 +17,7 @@ checksum=a86483a3ec144b68b89641abccb848b390ad901732c5e6043e3eb67e0ede7986
|
|||
|
||||
pre_build() {
|
||||
# Can't do it via LDFLAGS, that messes up the linking order
|
||||
vsed 's/-threads/& -lfreetype -lharfbuzz -lz -ljbig2dec -ljpeg -lopenjp2/' \
|
||||
vsed 's/-threads/& -lgumbo -lfreetype -lharfbuzz -lz -ljbig2dec -ljpeg -lopenjp2/' \
|
||||
-i Makefile
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue