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:51:04 +0000 |
| commit | 53ccbf1eae932f6a06812ae371af8d5554df5dfd (patch) | |
| tree | 01ba0e09d75b6c69dddba8e0b82c5b6da9992d5e | |
| parent | fd4b151dd58132000d31a3ece244c71f89d24412 (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 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 )" > $@ |
