summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s/netbsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index 3524f921f24..49263facb35 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -40,6 +40,7 @@
/* Netbsd has POSIX-style pgrp behavior. */
#undef BSD_PGRPS
+#ifndef NO_SHARED_LIBS
/* These definitions should work for either dynamic or static linking,
whichever is the default for `cc -nostdlib'. */
#define HAVE_TEXT_START /* No need to define `start_of_text'. */
@@ -53,6 +54,7 @@
#define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
#define N_TRELOFF(x) N_RELOFF(x)
#endif
+#endif /* not NO_SHARED_LIBS */
/* Reread the time zone on startup. */
#define LOCALTIME_CACHE