1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
$NetBSD: patch-mm,v 1.13 2012/06/05 18:09:21 ryoon Exp $
--- toolkit/library/Makefile.in.orig 2012-05-23 18:57:09.000000000 +0000
+++ toolkit/library/Makefile.in
@@ -119,6 +119,7 @@ STATIC_LIBS += ipdlunittest_s
endif
ifeq (Linux,$(OS_ARCH))
+EXTRA_DSO_LDOPTS += -lnssutil3
ifneq (Android,$(OS_TARGET))
OS_LIBS += -lrt
endif
@@ -520,6 +521,24 @@ EXTRA_DSO_LDOPTS += -lelf -ldemangle
endif
endif
+ifeq ($(OS_ARCH),DragonFly)
+OS_LIBS += $(call EXPAND_LIBNAME,kvm)
+EXTRA_DSO_LDOPTS += -lplc4 -lplds4 -lnspr4 -lnssutil3
+endif
+
+ifeq ($(OS_ARCH),FreeBSD)
+OS_LIBS += $(call EXPAND_LIBNAME,kvm)
+EXTRA_DSO_LDOPTS += -lplc4 -lplds4 -lnspr4 -lnssutil3
+endif
+
+ifeq ($(OS_ARCH),NetBSD)
+OS_LIBS += $(call EXPAND_LIBNAME,kvm)
+EXTRA_DSO_LDOPTS += -lossaudio
+endif
+ifdef PKGSRC_PULSEAUDIO
+EXTRA_DSO_LDOPTS += -lpulse
+endif
+
ifeq ($(OS_ARCH),WINNT)
OS_LIBS += $(call EXPAND_LIBNAME,shell32 ole32 version winspool comdlg32 imm32 msimg32 shlwapi psapi ws2_32 dbghelp rasapi32 rasdlg iphlpapi uxtheme setupapi t2embed secur32)
ifdef MOZ_CRASHREPORTER
|