summaryrefslogtreecommitdiff
path: root/chat/prosody/patches/patch-ac
blob: 418e293bb973b3dbd7b2a7c33d7e62196bac9d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ac,v 1.1.1.1 2010/09/21 11:01:22 fhajny Exp $

Add runtime search path to linking phase
--- util-src/Makefile.orig	2010-06-13 00:23:02.000000000 +0000
+++ util-src/Makefile
@@ -16,7 +16,7 @@ LD?=gcc
 
 .o.so:
 	MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;
-	$(LD) $(LDFLAGS) -o $@ $< -L$(LUA_LIBDIR) -llua$(LUA_SUFFIX) -lidn -lcrypto
+	$(LD) $(LDFLAGS) -o $@ $< -L$(LUA_LIBDIR) -R$(LUA_LIBDIR) -llua$(LUA_SUFFIX) -lidn -lcrypto
 
 all: encodings.so hashes.so pposix.so signal.so