configure: Improve various build flags

- Store openssl flags in own vars
- Share some common flags for plugins
- Fix building plugins on win32
- Store all glib flags in one var
- Don't link against every lib for each plugin
- Don't hardcode ldflags for sysinfo
This commit is contained in:
TingPing
2014-09-06 08:04:52 -04:00
committed by TingPing
parent 94568bc517
commit 0e4164ad0c
7 changed files with 60 additions and 63 deletions

View File

@@ -2,7 +2,7 @@ libdir = $(hexchatlibdir)
lib_LTLIBRARIES = doat.la
doat_la_SOURCES = doat.c
doat_la_LDFLAGS = -avoid-version -module
doat_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module
doat_la_LIBADD =
AM_CPPFLAGS = $(COMMON_CFLAGS) -I$(srcdir)/../../src/common
doat_la_CFLAGS = -I$(top_srcdir)/src/common