pkgsrc-ng/mail/thunderbird/files/patch-ipc_src_Makefile
2016-01-21 23:40:00 +01:00

17 lines
399 B
Plaintext

diff --git a/ipc/src/Makefile b/ipc/src/Makefile
index 4546c3e..2e0998d 100644
--- a/ipc/src/Makefile
+++ b/ipc/src/Makefile
@@ -49,6 +49,11 @@ ifeq ($(OS_TARGET),WINNT)
OBJ_SUFF = obj
endif
+ifeq ($(OS_ARCH),SunOS)
+LDFLAGS += -shared -Wl,-Bsymbolic
+CFLAGS += -fPIC
+endif
+
source = subprocess.c
objfiles = subprocess.$(OBJ_SUFF)
libname = $(DLL_PREFIX)subprocess-$(CPU_ARCH)$(DLL_SUFFIX)