diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-12-02 14:53:21 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-12-16 12:03:04 -0800 |
commit | df3f23fe8d13be74e58c894c44683024a190b0f6 (patch) | |
tree | d3ff6efe434469c75fdadb96e58674f5bf0c9905 /hw/xquartz | |
parent | 6e8626f2eb31a3699bf49597974e01ea4757f31e (diff) |
XQuartz: pbproxy: Simplify linking
(cherry picked from commit 909cc5c4dca0f63e90505575bbd454b46a4670cc)
(cherry picked from commit cbb9ee57f8f29d2a1c39946381471fcd3b8e495e)
Diffstat (limited to 'hw/xquartz')
-rw-r--r-- | hw/xquartz/mach-startup/Makefile.am | 2 | ||||
-rw-r--r-- | hw/xquartz/pbproxy/Makefile.am | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/hw/xquartz/mach-startup/Makefile.am b/hw/xquartz/mach-startup/Makefile.am index 65ee2fae1..b4e78522a 100644 --- a/hw/xquartz/mach-startup/Makefile.am +++ b/hw/xquartz/mach-startup/Makefile.am @@ -19,7 +19,7 @@ X11_LDADD = \ $(top_builddir)/dix/dixfonts.lo \ $(top_builddir)/miext/rootless/librootless.la \ $(top_builddir)/hw/xquartz/pbproxy/libxpbproxy.la \ - $(DARWIN_LIBS) $(XSERVER_LIBS) $(XSERVER_SYS_LIBS) -lXplugin -lX11 + $(DARWIN_LIBS) $(XSERVER_LIBS) $(XSERVER_SYS_LIBS) -lXplugin X11_LDFLAGS = \ -XCClinker -Objc \ diff --git a/hw/xquartz/pbproxy/Makefile.am b/hw/xquartz/pbproxy/Makefile.am index 65e5e4a60..e1c537fbb 100644 --- a/hw/xquartz/pbproxy/Makefile.am +++ b/hw/xquartz/pbproxy/Makefile.am @@ -1,5 +1,5 @@ AM_CPPFLAGS=-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks -AM_LDFLAGS=-L/usr/X11/lib -lX11 -lXfixes -lAppleWM -framework AppKit -framework Foundation -framework ApplicationServices +AM_CFLAGS=$(XPBPROXY_CFLAGS) noinst_LTLIBRARIES = libxpbproxy.la libxpbproxy_la_SOURCES = \ @@ -8,6 +8,8 @@ libxpbproxy_la_SOURCES = \ x-input.m \ x-selection.m +libxpbproxy_la_LDFLAGS=$(XPBPROXY_LIBS) + if STANDALONE_XPBPROXY bin_PROGRAMS = xpbproxy |