summaryrefslogtreecommitdiff
path: root/mail/thunderbird45/files/patch-ipc_src_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird45/files/patch-ipc_src_Makefile')
-rw-r--r--mail/thunderbird45/files/patch-ipc_src_Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/thunderbird45/files/patch-ipc_src_Makefile b/mail/thunderbird45/files/patch-ipc_src_Makefile
new file mode 100644
index 00000000000..5eaa69012b9
--- /dev/null
+++ b/mail/thunderbird45/files/patch-ipc_src_Makefile
@@ -0,0 +1,16 @@
+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)