summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/libproxy/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/libproxy/Makefile b/www/libproxy/Makefile
index c5161c535e4..a0d8ea1c232 100644
--- a/www/libproxy/Makefile
+++ b/www/libproxy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2013/05/31 09:45:55 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2013/05/31 10:58:41 wiz Exp $
DISTNAME= libproxy-0.4.11
CATEGORIES= www gnome
@@ -19,7 +19,8 @@ CMAKE_ARGS+= -DWITH_PYTHON:BOOL=OFF
.if (${OPSYS} == "SunOS")
# add libraries needed for Solaris, and add stuff cmake would add it on its own
-CMAKE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS:STRING="-lnsl -lsocket ${COMPILER_RPATH_FLAG}${PREFIX}/lib"
+CMAKE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS:STRING="-lnsl -lsocket ${COMPILER_RPATH_FLAG}${PREFIX}/lib"
+BUILDLINK_TRANSFORM+= rm:-Wl,--no-as-needed
.endif
PKGCONFIG_OVERRIDE+= bindings/csharp/libproxy-sharp-1.0.pc.cmake