diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-19 17:51:04 +0000 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-19 17:58:53 +0000 |
| commit | 0d540cbe80276303d9cf1012da97f44d65285288 (patch) | |
| tree | a4553f530f16c6fcd9cb9de287993a632c267caa | |
| parent | b4b84f7e139cd641f2041d6ed86964922a7d5e68 (diff) | |
Prevent dynamic linking
| -rw-r--r-- | libddekit/Makefile | 3 | ||||
| -rw-r--r-- | libmachdev/Makefile | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libddekit/Makefile b/libddekit/Makefile index a163a0c0..8ba581ec 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 )" > $@ |
