From 3e7f9c00c55b795def0c70fd2de5fc37aa2495ca Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 14 Sep 2012 14:20:03 -0500 Subject: Add a small binary to be the wrapper --- Makefile.am | 13 +++++++++++++ uccsconfigure-session-wrapper.c | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 uccsconfigure-session-wrapper.c diff --git a/Makefile.am b/Makefile.am index e8cec00..1325ca5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,6 +40,19 @@ uccsconfigure-session: uccsconfigure-session.in EXTRA_DIST += uccsconfigure-session.in CLEANFILES += uccsconfigure-session +############################### +# The session wrapper +############################### + +pkglibexec_PROGRAMS = \ + uccsconfigure-session-wrapper + +uccsconfigure_session_wrapper_SOURCES = \ + uccsconfigure-session-wrapper.c +uccsconfigure_session_wrapper_CFLAGS = \ + -DPKGDATADIR="\"$(pkgdatadir)\"" \ + -Wall -Werror + ############################### # Apparmor for session script ############################### diff --git a/uccsconfigure-session-wrapper.c b/uccsconfigure-session-wrapper.c new file mode 100644 index 0000000..8a4ade3 --- /dev/null +++ b/uccsconfigure-session-wrapper.c @@ -0,0 +1,7 @@ + +int +main (int argc, char * argv[]) +{ + + return 0; +} -- cgit v1.2.3