mirror of
https://github.com/clearlinux/clr-debug-info.git
synced 2026-09-05 21:31:30 +00:00
Drop glib entirely
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
This commit is contained in:
+7
-4
@@ -12,6 +12,8 @@ AM_CFLAGS = \
|
||||
-Wno-conversion -Wunused-variable -Wunreachable-code \
|
||||
-Wall -W -D_FORTIFY_SOURCE=2 -std=c11
|
||||
|
||||
AM_CPPFLAGS = $(AM_CFLAGS) ${curl_CFLAGS} ${fuse_CFLAGS}
|
||||
|
||||
bin_PROGRAMS = clr_debug_fuse clr_debug_daemon clr_debug_prepare
|
||||
|
||||
noinst_LTLIBRARIES = \
|
||||
@@ -26,14 +28,15 @@ libnica_la_SOURCES = \
|
||||
clr_debug_fuse_SOURCES = src/fuse.c src/client.c
|
||||
|
||||
clr_debug_daemon_SOURCES = src/server.c
|
||||
clr_debug_daemon_CFLAGS = \
|
||||
-pthread \
|
||||
$(AM_CFLAGS)
|
||||
|
||||
clr_debug_prepare_SOURCES = src/prepare.c
|
||||
|
||||
|
||||
AM_CPPFLAGS = $(AM_CFLAGS) $(glib_CFLAGS) ${curl_CFLAGS} ${fuse_CFLAGS}
|
||||
clr_debug_fuse_LDADD = ${fuse_LIBS} $(glib_LIBS)
|
||||
clr_debug_daemon_LDADD = $(glib_LIBS) ${curl_LIBS} libnica.la
|
||||
clr_debug_prepare_LDADD = $(glib_LIBS)
|
||||
clr_debug_fuse_LDADD = ${fuse_LIBS}
|
||||
clr_debug_daemon_LDADD = ${curl_LIBS} libnica.la
|
||||
|
||||
systemdsystemunit_DATA = clr_debug_fuse.service clr_debug_daemon.service
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ AM_SILENT_RULES([yes])
|
||||
AC_PROG_CC
|
||||
AC_LANG(C)
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
PKG_CHECK_MODULES([glib], [glib-2.0 gthread-2.0])
|
||||
PKG_CHECK_MODULES([curl], [libcurl])
|
||||
PKG_CHECK_MODULES([fuse], [fuse])
|
||||
PKG_CHECK_MODULES([SYSTEMD], [systemd])
|
||||
|
||||
@@ -38,8 +38,6 @@
|
||||
#include <sys/un.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
/*
|
||||
|
||||
this program takes a directory /var/www/html/debuginfo.raw,
|
||||
|
||||
+1
-1
@@ -28,6 +28,7 @@
|
||||
#include <errno.h>
|
||||
#include <malloc.h>
|
||||
#include <pthread.h>
|
||||
#include <signal.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -40,7 +41,6 @@
|
||||
|
||||
#include "nica/hashmap.h"
|
||||
#include <curl/curl.h>
|
||||
#include <glib.h>
|
||||
|
||||
static pthread_mutex_t dupes_mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user