summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-pa
blob: 56e0f8892ddffb75592bf0bf192f037d1fde4224 (plain)
1
2
3
4
5
6
7
8
9
10
11
$NetBSD: patch-pa,v 1.2 2013/08/07 12:17:54 ryoon Exp $

--- xulrunner/installer/mozilla-js.pc.in.orig	2013-07-30 00:59:18.000000000 +0000
+++ xulrunner/installer/mozilla-js.pc.in
@@ -6,5 +6,5 @@ Name: JavaScript
 Description: The Mozilla JavaScript Library
 Version: %MOZILLA_VERSION%
 Requires: %NSPR_NAME% >= %NSPR_VERSION%
-Libs: -L${sdkdir}/lib %MOZ_JS_LINK%
+Libs: -Wl,-R${prefix}/lib/xulrunner -Wl,-R${prefix}/lib/xulrunner -Wl,-R${prefix}/lib/xulrunner -Wl,-R${prefix}/lib/xulrunner -L${prefix}/lib/xulrunner %MOZ_JS_LINK%
 Cflags: -I${includedir} -DXP_UNIX -DJS_THREADSAFE