Fix runtime linkage.
This commit is contained in:
parent
81a7e84d2d
commit
7138502115
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-aa,v 1.2 1999/02/19 14:28:08 rh Exp $
|
||||
$NetBSD: patch-aa,v 1.3 1999/05/27 15:20:22 kleink Exp $
|
||||
|
||||
--- Makefile.orig Wed Aug 5 21:10:26 1998
|
||||
+++ Makefile Thu Feb 18 17:33:28 1999
|
||||
|
@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.2 1999/02/19 14:28:08 rh Exp $
|
|||
# Here, what you need for Pgsql
|
||||
-PGSQLIBS = -L/usr/local/pgsql/lib -lpq
|
||||
-PGSQLCFLAGS = -I/usr/local/pgsql/include
|
||||
+PGSQLIBS = -L${LOCALBASE}/pgsql/lib -lpq
|
||||
+PGSQLIBS = -L${LOCALBASE}/pgsql/lib -Wl,-R${LOCALBASE}/pgsql/lib -lpq
|
||||
+PGSQLCFLAGS = -I${LOCALBASE}/pgsql/include
|
||||
# Your favorite compilation options here :-)
|
||||
MCFLAGS = -Wall -O -g
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-ag,v 1.1 1999/02/19 14:22:47 rh Exp $
|
||||
$NetBSD: patch-ag,v 1.2 1999/05/27 15:10:54 kleink Exp $
|
||||
|
||||
--- gtk-config.in.orig Mon Apr 6 06:31:14 1998
|
||||
+++ gtk-config.in Tue Feb 16 15:28:19 1999
|
||||
|
@ -11,7 +11,7 @@ $NetBSD: patch-ag,v 1.1 1999/02/19 14:22:47 rh Exp $
|
|||
;;
|
||||
--libs)
|
||||
- echo -L@libdir@ @x_ldflags@ -lgtk -lgdk -lglib @x_libs@ -lm
|
||||
+ echo -L@libdir@ @x_ldflags@ -lgtk10 -lgdk10 -lglib10 @x_libs@ -lm
|
||||
+ echo -L@libdir@ -Wl,-R@libdir@ @x_ldflags@ -lgtk10 -lgdk10 -lglib10 @x_libs@ -lm
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
|
|
Loading…
Reference in a new issue