aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libfpx/files/Makefile.bsd
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libfpx/files/Makefile.bsd')
-rw-r--r--graphics/libfpx/files/Makefile.bsd4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/libfpx/files/Makefile.bsd b/graphics/libfpx/files/Makefile.bsd
index e0e1a639f8d..644dd0f77e8 100644
--- a/graphics/libfpx/files/Makefile.bsd
+++ b/graphics/libfpx/files/Makefile.bsd
@@ -24,8 +24,8 @@ CPPS += ${OLESS:S/^/${.CURDIR}\/oless\//} ${JPGS}
SRCS = ${CPPS:T}
-CXXFLAGS+= -fno-rtti -fno-exceptions
-LDADD += -L${LOCALBASE}/lib -ljpeg
+CXXFLAGS+= -fno-rtti -fno-exceptions -DHAVE_WCHAR_H=1 -DHAVE_DLFCN_H=1
+LDADD += -L${LOCALBASE}/lib -ljpeg -lstdc++
.PATH: ${CPPS:H}