summaryrefslogtreecommitdiff
path: root/x11/qtarch/patches/patch-ab
blob: 9bf2d60d337d8d9eb3a0a57047e93d8d0b531881 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.2 2000/10/19 08:04:58 skrll Exp $

--- bmp/Makefile.orig	Fri Apr 28 02:41:56 2000
+++ bmp/Makefile
@@ -95,7 +95,9 @@
 include ../Makefile.common
 
 qembed: qembed.o
-	$(CC) qembed.o -o qembed -Wall -L$(QTDIR)/lib -lqt 
+	$(CC) qembed.o -o qembed -Wall -L$(QTDIR)/lib -Wl,-R$(QTDIR)/lib -lqt \
+		-L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib -lX11 -lXext -lSM \
+		-L$(LOCALBASE)/lib -Wl,-R$(LOCALBASE)/lib -lpng -lz
 
 $(BMPSOURCE): $(BMPS) qembed
 	./qembed $(BMPHEADER) $(BMPSOURCE) $(BMPS)