The following commit has been merged in the master branch:
commit 2476909719a2f3627a73ff8553ac36ad2210c228
Author: Samuel Thibault <[email protected]>
Date:   Sun Feb 19 17:51:04 2012 +0000

    Prevent dynamic linking

diff --git a/libddekit/Makefile b/libddekit/Makefile
index 58dbd55..3dbaeee 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 1af9020..15bc973 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 )" > $@

-- 
Debian GNU Hurd packaging

Reply via email to