aboutsummaryrefslogtreecommitdiff
path: root/libmachdev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libmachdev/Makefile')
-rw-r--r--libmachdev/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmachdev/Makefile b/libmachdev/Makefile
index f5dac9ba..a4a58198 100644
--- a/libmachdev/Makefile
+++ b/libmachdev/Makefile
@@ -29,6 +29,7 @@ LDLIBS += -lpthread -lmachuser
OBJS = $(SRCS:.c=.o) $(MIGSTUBS)
MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h
device-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name"
-mach_i386-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name"
+mach_i386-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name" \
+ "-DMACH_I386_IMPORTS=import \"$(srcdir)/../libports/ports.h\";"
include ../Makeconf