summaryrefslogtreecommitdiff
path: root/cad/gplcver/patches/patch-ac
blob: 66016e2a31edfc189a7f7a459b7b17b238ad4473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ac,v 1.2 2006/06/07 23:52:17 minskim Exp $

--- src/makefile.freebsd.orig	2005-07-06 17:53:09.000000000 +0000
+++ src/makefile.freebsd
@@ -45,10 +45,10 @@ CC=cc
 # select loader
 LD=ld
 # needed for dynamic PLI loading
-LFLAGS=-export-dynamic
+LFLAGS=-export-dynamic -Wl,-R${PREFIX}/lib/gplcver
 
 # system libs
-LIBS= -lm
+LIBS= -lm ${DL_LIBS}
 
 # rule for making the cver binary
 cver:	$(MAINOBJ) $(CVER_OBJS)