Skip to content

Commit a737cfe

Browse files
committed
leptonica: Add explicit -lm on SunOS.
1 parent ec3e18f commit a737cfe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

graphics/leptonica/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.30 2024/10/22 18:37:59 adam Exp $
1+
# $NetBSD: Makefile,v 1.31 2024/12/03 15:08:01 jperkin Exp $
22

33
DISTNAME= leptonica-1.85.0
44
CATEGORIES= graphics
@@ -19,8 +19,8 @@ CMAKE_CONFIGURE_ARGS+= -DBUILD_SHARED_LIBS=ON
1919
# Silence console messages
2020
CPPFLAGS+= -DNO_CONSOLE_IO=1
2121

22-
# Pass a SunOS that the build relies on
2322
CPPFLAGS.SunOS+= -D__SOLARIS__=1
23+
LDFLAGS.SunOS+= -lm
2424

2525
.include "../../devel/cmake/build.mk"
2626
.include "../../graphics/giflib/buildlink3.mk"

0 commit comments

Comments
 (0)