summary refs log tree commit diff stats
path: root/plugins/sysinfo/Makefile.am
diff options
context:
space:
mode:
authorTingPing <tingping@fedoraproject.org>2014-09-06 08:04:52 -0400
committerTingPing <tingping@tingping.se>2014-12-15 11:07:46 -0500
commit0e4164ad0c8744efcbcceda2d7c1d70aa5e1d71a (patch)
tree3a161f148302a6797ae532357048aac465b14275 /plugins/sysinfo/Makefile.am
parent94568bc5179b5e04354eaf2b40d36e0c53bf9405 (diff)
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
Diffstat (limited to 'plugins/sysinfo/Makefile.am')
-rw-r--r--plugins/sysinfo/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/sysinfo/Makefile.am b/plugins/sysinfo/Makefile.am
index 3e7ef1aa..4ac9c016 100644
--- a/plugins/sysinfo/Makefile.am
+++ b/plugins/sysinfo/Makefile.am
@@ -2,6 +2,6 @@ libdir = $(hexchatlibdir)
 
 lib_LTLIBRARIES = sysinfo.la
 sysinfo_la_SOURCES = match.c parse.c pci.c xsys.c
-sysinfo_la_LDFLAGS = -avoid-version -module
-sysinfo_la_LIBADD = -lpci
-AM_CPPFLAGS = $(COMMON_CFLAGS) -I$(srcdir)/../../src/common
+sysinfo_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module
+sysinfo_la_LIBADD = $(LIBPCI_LIBS) $(GLIB_LIBS)
+sysinfo_la_CFLAGS = $(LIBPCI_CFLAGS) $(GLIB_CFLAGS) -I$(srcdir)/../../src/common