mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
[build] Use per-target flags and libraries
AM_LDFLAGS is ignored by the LDFLAGS target, and it's also not the right place to put the libraries used by the linker. Thanks to Vincent Untz for spotting this.
This commit is contained in:
parent
ed005685c9
commit
ea436a20b3
@ -79,13 +79,11 @@ INCLUDES = \
|
||||
-I$(top_builddir)/clutter \
|
||||
-DG_DISABLE_SINGLE_INCLUDES
|
||||
|
||||
LDADD = $(top_builddir)/clutter/libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.la
|
||||
AM_CPPFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
||||
AM_LDFLAGS = $(CLUTTER_LIBS)
|
||||
common_ldadd = $(top_builddir)/clutter/libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.la
|
||||
|
||||
noinst_PROGRAMS = test-interactive
|
||||
|
||||
test_interactive_SOURCES = \
|
||||
test-main.c \
|
||||
$(UNIT_TESTS)
|
||||
test_interactive_SOURCES = test-main.c $(UNIT_TESTS)
|
||||
test_interactive_CPPFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
||||
test_interactive_LDFLAGS = -export-dynamic
|
||||
test_interactive_LDADD = $(CLUTTER_LIBS) $(common_ldadd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user