X-Git-Url: http://pileus.org/git/?p=aweather;a=blobdiff_plain;f=src%2Fplugins%2FMakefile.am;h=502bb260fa7471b5a389bf8a04f28a9c32f85d4b;hp=9fe42ae02e40999b00a58974531a908cb2bf89c8;hb=e14ed01dd0d4966d1a906486dbd01d577a27634f;hpb=0710ad564f97bf0e8aa3460fcb79110623d46544 diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index 9fe42ae..502bb26 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -1,6 +1,6 @@ AM_CFLAGS = -Wall --std=gnu99 $(GRITS_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/lib -AM_LDFLAGS = -module -avoid-version -no-undefined +AM_LDFLAGS = -shared -module -avoid-version -Wl,--as-needed LIBS = $(GRITS_LIBS) pluginsdir = $(pkglibdir) @@ -23,6 +23,7 @@ radar_la_LIBADD = $(RSL_LIBS) $(GRITS_LIBS) \ endif if WIN32 +AM_LDFLAGS += -no-undefined dots = .. endif