[PATCH 1/4] Remove AM_LDFLAGS usage
Kristian Høgsberg
hoegsberg at gmail.com
Fri Sep 13 15:14:05 PDT 2013
On Fri, Sep 13, 2013 at 10:01:19AM +0800, Sam Spilsbury wrote:
> We are not building everything here as a module, only the test modules.
Yes, better. Committed.
Kristian
> ---
> tests/Makefile.am | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 398a275..3a36619 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -7,6 +7,8 @@ module_tests = \
> surface-test.la \
> surface-global-test.la
>
> +weston_test = weston-test.la
> +
> weston_tests = \
> keyboard.weston \
> event.weston \
> @@ -45,7 +47,7 @@ AM_CPPFLAGS = \
> -I$(top_builddir)/src \
> -DUNIT_TEST \
> $(COMPOSITOR_CFLAGS)
> -AM_LDFLAGS = -module -avoid-version -rpath $(libdir)
> +
>
> config_parser_test_LDADD = \
> ../shared/libshared.la \
> @@ -54,11 +56,13 @@ config_parser_test_SOURCES = \
> config-parser-test.c
>
> surface_global_test_la_SOURCES = surface-global-test.c
> +surface_global_test_la_LDFLAGS = -module -avoid-version -rpath $(libdir)
> surface_test_la_SOURCES = surface-test.c
> +surface_test_la_LDFLAGS = -module -avoid-version -rpath $(libdir)
>
> -weston_test = weston-test.la
> weston_test_la_LIBADD = $(COMPOSITOR_LIBS) \
> ../shared/libshared.la
> +weston_test_la_LDFLAGS = -module -avoid-version -rpath $(libdir)
> weston_test_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
> weston_test_la_SOURCES = \
> weston-test.c \
> --
> 1.8.3.2
>
> _______________________________________________
> 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