summaryrefslogtreecommitdiff
path: root/misc/openoffice2/patches/patch-da
blob: 10061d581774c8aa5d5a3af63ba480e2cec8df5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-da,v 1.1 2008/02/05 19:17:25 hira Exp $

--- solenv/inc/unxfbsd.mk.orig	2008-02-05 20:42:15.000000000 +0000
+++ solenv/inc/unxfbsd.mk	2008-02-05 20:43:58.000000000 +0000
@@ -180,10 +180,10 @@
 STDSLOCUI=
 
 # libraries for linking applications
-STDLIBGUIMT=-lX11 $(PTHREAD_LIBS) -lm
+STDLIBGUIMT=$(X11_LDFLAGS) -lX11 $(PTHREAD_LIBS) -lm
 STDLIBCUIMT=$(PTHREAD_LIBS) -lm
 # libraries for linking shared libraries
-STDSHLGUIMT=-lX11 -lXext $(PTHREAD_LIBS) -lm
+STDSHLGUIMT=$(X11_LDFLAGS) -lX11 -lXext $(PTHREAD_LIBS) -lm
 STDSHLCUIMT=$(PTHREAD_LIBS) -lm
 
 LIBSALCPPRT*=-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive