$NetBSD: patch-mozilla_xpcom_Makefile.in,v 1.2 2012/04/28 16:56:59 ryoon Exp $ --- mozilla/xpcom/Makefile.in.orig 2012-04-20 22:40:27.000000000 +0000 +++ mozilla/xpcom/Makefile.in @@ -67,6 +67,10 @@ DIRS += windbgdlg endif endif +ifeq ($(OS_ARCH),NetBSD) +EXTRA_DSO_LDOPTS += -Wl,-rpath,${PREFIX}/lib/xulrunner-sdk/sdk/lib +endif + ifdef ENABLE_TESTS TOOL_DIRS += \ tests \