Files
pkgsrc-ng/devel/xulrunner10/patches/patch-pa
2013-09-26 17:14:40 +02:00

12 lines
532 B
Plaintext

$NetBSD: patch-pa,v 1.1.1.1 2012/03/15 08:58:28 ryoon Exp $
--- xulrunner/installer/mozilla-js.pc.in.orig 2012-03-09 22:20:39.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/xulrunner10 -Wl,-R${prefix}/lib/xulrunner10 -L${prefix}/lib/xulrunner10 %MOZ_JS_LINK%
Cflags: -I${includedir} -DXP_UNIX -DJS_THREADSAFE