From 53ccbf1eae932f6a06812ae371af8d5554df5dfd Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 19 Feb 2012 17:51:04 +0000 Subject: Prevent dynamic linking --- libddekit/Makefile | 3 +++ libmachdev/Makefile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/libddekit/Makefile b/libddekit/Makefile index 58dbd555..3dbaeeee 100644 --- a/libddekit/Makefile +++ b/libddekit/Makefile @@ -45,3 +45,6 @@ include ../Makeconf LDFLAGS += -lpciaccess CFLAGS += -I$(srcdir)/include + +$(libname).so.$(hurd-version): + echo "INPUT ( $(libname).a )" > $@ diff --git a/libmachdev/Makefile b/libmachdev/Makefile index 1af90204..15bc9730 100644 --- a/libmachdev/Makefile +++ b/libmachdev/Makefile @@ -34,3 +34,6 @@ CFLAGS += -I$(top_srcdir)/libddekit/include -I$(top_srcdir)/libbpf ourdevice.defs: device.defs $(CPP) $(CPPFLAGS) -x c $< | sed -e '/out[ ]*device[ ]*:[ ]*device_t/s/device_t/mach_port_send_t/' > $@ + +$(libname).so.$(hurd-version): + echo "INPUT ( $(libname).a )" > $@ -- cgit v1.2.3