[interface-library] (LDFLAGS-$(interface-library:lib%=%.so)): New variable,
authorroland <roland>
Sat, 22 Apr 1995 21:13:49 +0000 (21:13 +0000)
committerroland <roland>
Sat, 22 Apr 1995 21:13:49 +0000 (21:13 +0000)
set to -nostdlib.

mach/Machrules

index 93916a0..b6d9e00 100644 (file)
@@ -195,4 +195,9 @@ ifdef interface-library
 $(interface-library)-routines = $(interface-routines)
 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.
+LDFLAGS-$(interface-library:lib%=%.so) = -nostdlib
+
 endif