[PATCH wayland] build: Build libwayland-private

Bryce Harrington bryce at osg.samsung.com
Thu Jul 23 14:27:06 PDT 2015


On Fri, Jun 19, 2015 at 10:27:33AM +1000, Peter Hutterer wrote:
> On Thu, Jun 18, 2015 at 05:47:22PM -0500, Derek Foreman wrote:
> > This splits the bulk of libwayland-util into libwayland-private.
> > 
> > libwayland-util (which is just wayland-util.c) is for use with the scanner.
> > 
> > libwayland-private is everything else.
> > 
> > Most things will want to link both libs.
> > 
> > Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
> 
> Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

Thanks, landed:
To ssh://git.freedesktop.org/git/wayland/wayland
   21f80b8..de14895  master -> master
 
> Cheers,
>    Peter
> 
> > ---
> >  Makefile.am | 12 +++++++-----
> >  1 file changed, 7 insertions(+), 5 deletions(-)
> > 
> > diff --git a/Makefile.am b/Makefile.am
> > index 58f5595..234f90c 100644
> > --- a/Makefile.am
> > +++ b/Makefile.am
> > @@ -42,10 +42,11 @@ libwayland_util_la_SOURCES =			\
> >  noinst_LTLIBRARIES = libwayland-util.la
> >  
> >  if ENABLE_LIBRARIES
> > +noinst_LTLIBRARIES += libwayland-private.la
> >  lib_LTLIBRARIES = libwayland-server.la libwayland-client.la
> >  
> > -libwayland_util_la_CFLAGS += $(FFI_CFLAGS)
> > -libwayland_util_la_SOURCES +=			\
> > +libwayland_private_la_CFLAGS = $(FFI_CFLAGS) $(AM_CFLAGS)
> > +libwayland_private_la_SOURCES =			\
> >  	src/connection.c			\
> >  	src/wayland-os.c			\
> >  	src/wayland-os.h			\
> > @@ -66,7 +67,7 @@ nodist_include_HEADERS =			\
> >  	protocol/wayland-client-protocol.h
> >  
> >  libwayland_server_la_CFLAGS = $(FFI_CFLAGS) $(AM_CFLAGS) -pthread
> > -libwayland_server_la_LIBADD = $(FFI_LIBS) libwayland-util.la -lrt -lm
> > +libwayland_server_la_LIBADD = $(FFI_LIBS) libwayland-private.la libwayland-util.la -lrt -lm
> >  libwayland_server_la_LDFLAGS = -version-info 1:0:1
> >  libwayland_server_la_SOURCES =			\
> >  	src/wayland-server.c			\
> > @@ -78,7 +79,7 @@ nodist_libwayland_server_la_SOURCES =		\
> >  	protocol/wayland-protocol.c
> >  
> >  libwayland_client_la_CFLAGS = $(FFI_CFLAGS) $(AM_CFLAGS) -pthread
> > -libwayland_client_la_LIBADD = $(FFI_LIBS) libwayland-util.la -lrt -lm
> > +libwayland_client_la_LIBADD = $(FFI_LIBS) libwayland-private.la libwayland-util.la -lrt -lm
> >  libwayland_client_la_LDFLAGS = -version-info 3:0:3
> >  libwayland_client_la_SOURCES =			\
> >  	src/wayland-client.c
> > @@ -175,6 +176,7 @@ libtest_runner_la_SOURCES =			\
> >  	tests/test-compositor.h			\
> >  	tests/test-compositor.c
> >  libtest_runner_la_LIBADD =			\
> > +	libwayland-private.la			\
> >  	libwayland-util.la			\
> >  	libwayland-client.la			\
> >  	libwayland-server.la			\
> > @@ -229,4 +231,4 @@ os_wrappers_test_LDADD = libtest-runner.la
> >  
> >  exec_fd_leak_checker_SOURCES = tests/exec-fd-leak-checker.c
> >  exec_fd_leak_checker_LDADD = libtest-runner.la
> > -endif
> > +endif #ENABLE_LIBRARIES
> > -- 
> > 2.1.4
> > 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list