Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154150041
D53948.id167204.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
977 B
Referenced Files
None
Subscribers
None
D53948.id167204.diff
View Options
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -1,3 +1,18 @@
+# If INTERNALLIB is defined, we build lib<name>.a and lib<name>_pie.a,
+# i.e. only static archives without dso, in both non-PIE and PIE variants,
+# suitable for static linking into binaries.
+# INTERNALLIB library headers are not installed. A component that uses
+# the library should add explicit -I$(LIB<name>DIR) to CFLAGS.
+#
+# If PRIVATELIB is defined, we build and install both libprivate<name>.a
+# and libprivate<name>.so, so the library can be linked dynamically, but
+# cannot be picked up by third-party configure scripts.
+# PRIVATELIB library headers are installed into include/private/<name>.
+#
+# If neither of control variables are defined, we install headers into
+# include/, and both non-pic static and shared libraries under the defined
+# name.
+
.include <bsd.init.mk>
.include <bsd.compiler.mk>
.include <bsd.linker.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 27, 2:52 PM (2 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32229226
Default Alt Text
D53948.id167204.diff (977 B)
Attached To
Mode
D53948: bsd.lib.mk: document INTERNALLIB and PRIVATELIB
Attached
Detach File
Event Timeline
Log In to Comment