summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-xpcom_Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/patches/patch-xpcom_Makefile.in')
-rw-r--r--www/firefox/patches/patch-xpcom_Makefile.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/firefox/patches/patch-xpcom_Makefile.in b/www/firefox/patches/patch-xpcom_Makefile.in
new file mode 100644
index 00000000000..9e49ec14d04
--- /dev/null
+++ b/www/firefox/patches/patch-xpcom_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-xpcom_Makefile.in,v 1.1 2013/05/23 13:12:13 ryoon Exp $
+
+--- xpcom/Makefile.in.orig 2013-01-04 23:44:47.000000000 +0000
++++ xpcom/Makefile.in
+@@ -35,6 +35,10 @@ DIRS += windbgdlg
+ endif
+ endif
+
++ifeq ($(OS_ARCH),NetBSD)
++EXTRA_DSO_LDOPTS += -Wl,-rpath,${PREFIX}/lib/xulrunner/sdk/lib
++endif
++
+ ifdef ENABLE_TESTS
+ TOOL_DIRS += \
+ tests \