31 lines
1008 B
Plaintext
31 lines
1008 B
Plaintext
$NetBSD: patch-mm,v 1.1 2013/01/10 16:17:10 ryoon Exp $
|
|
|
|
--- toolkit/library/Makefile.in.orig 2012-08-24 22:56:06.000000000 +0000
|
|
+++ toolkit/library/Makefile.in
|
|
@@ -535,6 +535,25 @@ EXTRA_DSO_LDOPTS += -lelf -ldemangle
|
|
endif
|
|
endif
|
|
|
|
+ifneq (,$(filter DragonFly FreeBSD NetBSD OpenBSD,$(OS_ARCH)))
|
|
+OS_LIBS += $(call EXPAND_LIBNAME,kvm)
|
|
+# keep `environ' unresolved, see bug 14426 for binutils
|
|
+EXTRA_DSO_LDOPTS += -Wl,--warn-unresolved-symbols
|
|
+endif
|
|
+
|
|
+ifneq (,$(filter DragonFly FreeBSD,$(OS_ARCH)))
|
|
+EXTRA_DSO_LDOPTS += -lplc4 -lplds4 -lnspr4 -lnssutil3
|
|
+endif
|
|
+
|
|
+ifneq (,$(MOZ_CUBEB)$(MOZ_SYDNEYAUDIO))
|
|
+ifeq ($(OS_ARCH),NetBSD)
|
|
+EXTRA_DSO_LDOPTS += -lossaudio
|
|
+endif
|
|
+ifdef PKGSRC_PULSEAUDIO
|
|
+EXTRA_DSO_LDOPTS += -lpulse
|
|
+endif
|
|
+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 secur32 sensorsapi portabledeviceguids windowscodecs)
|
|
ifdef MOZ_CRASHREPORTER
|