Skip to content

Commit

Permalink
build: Fix undefined references with slibtool.
Browse files Browse the repository at this point in the history
  • Loading branch information
orbea committed Jan 26, 2021
1 parent c10ab2d commit 0762515
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

SUBDIRS=cogl clutter src po doc data
SUBDIRS=cogl clutter src src/compositor/plugins po doc data

EXTRA_DIST = HACKING MAINTAINERS rationales.txt

Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

lib_LTLIBRARIES = libmuffin.la

SUBDIRS=wm-tester tools compositor/plugins
SUBDIRS=wm-tester tools

NULL =

Expand Down
9 changes: 6 additions & 3 deletions src/compositor/plugins/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
pkglibdir=@MUFFIN_PLUGIN_DIR@

AM_CPPFLAGS= \
$(WARN_CFLAGS) \
$(WARN_CFLAGS) \
$(MUFFIN_CFLAGS) \
-I$(top_builddir)/src \
-I$(top_builddir)/src \
-I$(top_srcdir)/src \
-I$(top_srcdir)/cogl \
-I$(top_builddir)/cogl \
Expand All @@ -27,7 +27,10 @@ AM_CPPFLAGS= \
default_la_CFLAGS = $(WARN_CFLAGS) -fPIC
default_la_SOURCES = default.c
default_la_LDFLAGS = $(WARN_LDFLAGS) -module -avoid-version -no-undefined
default_la_LIBADD = $(CLUTTER_LIBS)
default_la_LIBADD = \
$(CLUTTER_LIBS) \
$(top_builddir)/src/libmuffin.la \
$(top_builddir)/clutter/clutter/libmuffin-clutter-@MUFFIN_PLUGIN_API_VERSION@.la

pkglib_LTLIBRARIES = default.la

Expand Down

0 comments on commit 0762515

Please sign in to comment.