aboutsummaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
Diffstat (limited to 'mach')
-rw-r--r--mach/Machrules2
1 files changed, 2 insertions, 0 deletions
diff --git a/mach/Machrules b/mach/Machrules
index c5e234ec9b..8e48c367cd 100644
--- a/mach/Machrules
+++ b/mach/Machrules
@@ -211,6 +211,8 @@ extra-libs += $(interface-library)
# Avoid -lmachuser requiring -lc, which may not be built yet. If the
# shared object is absent, ld may choose a static library someplace and
# produce a bogus libmachuser.so.
++preinit =
++postinit =
interface.so = $(interface-library:lib%=%.so)
LDFLAGS-$(interface.so) = -nostdlib -nostartfiles