[Lldb-commits] [lldb] [lldb][test][NFC] Document DYLIB_NAME Makefile variable (PR #112735)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 18 00:13:27 PDT 2024


================
@@ -13,6 +13,13 @@
 # the building of the a.out executable program.  For example,
 # DYLIB_ONLY := YES
 #
+# When specifying one of the DYLIB_*_SOURCES variables, DYLIB_NAME
+# controls the name of the produced dylib. E.g., if set to "foo",
+# the generated dylib will be called "foo.<platform-specific-extension>",
+# which on Darwin will be "foo.dylib".
----------------
labath wrote:

Technically, the "lib" part is platform specific as well. Windows does not have that convention. Libraries (at least, those that aren't very obviously unixy in origin) don't have it: https://github.com/llvm/llvm-project/blob/5a09ce9e038ed73ea60edf5463dd6509f7c4848f/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py#L212

https://github.com/llvm/llvm-project/pull/112735


More information about the lldb-commits mailing list