XQuartz: pbproxy: Simplify linking
(cherry picked from commit 909cc5c4dc
)
This commit is contained in:
parent
b268458eab
commit
cbb9ee57f8
|
@ -1532,8 +1532,7 @@ if test "x$XQUARTZ" = xyes; then
|
|||
|
||||
CFLAGS="${CFLAGS} -DROOTLESS_WORKAROUND -DNO_ALLOCA"
|
||||
|
||||
PKG_CHECK_MODULES(APPLEWMPROTO, [applewmproto >= 1.1.1])
|
||||
PKG_CHECK_MODULES(APPLEWM, [applewm >= 1.0.0])
|
||||
PKG_CHECK_MODULES(XPBPROXY, [applewmproto >= 1.1.1] [applewm >= 1.0.0] xfixes fixesproto)
|
||||
|
||||
if test "x$STANDALONE_XPBPROXY" = xyes ; then
|
||||
AC_DEFINE(STANDALONE_XPBPROXY,1,[Build a standalone xpbproxy])
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user