X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fplugins%2FMakefile.am;h=8e6f5f6eb0ef0a26f6fbe9ae80af79489b1ea670;hp=e5c17dda11e9fd15df885b91d21d09c016d8f871;hb=edde3a80620c29e81241facfb1be9cbe3f4d9d89;hpb=07448c519e963bae1cfde4f1ff353478dd28136c diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index e5c17dd..8e6f5f6 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -2,7 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in AM_CFLAGS = -Wall --std=gnu99 -I$(top_srcdir)/src AM_CPPFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(SOUP_CFLAGS) -AM_LDFLAGS = -shared -module -avoid-version -no-undefined +AM_LDFLAGS = -shared -module -avoid-version -Wl,--as-needed LIBS = $(top_srcdir)/src/libgrits.la pluginsdir = "$(libdir)/$(GRITS_SUBDIR)" @@ -14,7 +14,7 @@ map_la_SOURCES = map.c map.h env_la_SOURCES = env.c env.h test_la_SOURCES = test.c test.h -if NOTWIN32 +if HAVE_GLUT noinst_LTLIBRARIES = teapot.la teapot_la_SOURCES = \ $(top_srcdir)/examples/plugin/teapot.c \