Skip to content

Commit aeb7a1d

Browse files
authored
SystemDumpLibraryExtension -> Internal`DynamicLibraryExtension (#655)
## Changes * Changes ``System`Dump`LibraryExtension`` to ``Internal`DynamicLibraryExtension`` due to impending deprecation. ## Examples * Remove cache: ```console $ rm -rf LibraryResources ``` * Build *libSetReplace*: ```wl In[] := BuildLibSetReplace[] Out[] = <|"LibraryPath" -> "/Users/maxitg/git/SetReplace/LibraryResources/MacOSX-x86-64/libSetReplace-165zdmc3jmt79.dylib", "LibraryFileName" -> "libSetReplace-165zdmc3jmt79.dylib", "LibraryBuildTime" -> {2021, 6, 13, 17, 31, 13}, "LibrarySourceHash" -> "165zdmc3jmt79", "FromCache" -> False|> ``` * The library extension is correct (at least on a Mac).
1 parent 121ba89 commit aeb7a1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DevUtils/BuildLibSetReplace.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
finalHash = Base36Hash[{sourceHashes, hashedOptions}];
7777

7878
(* derive final paths *)
79-
libraryFileName = StringJoin["libSetReplace-", finalHash, ".", System`Dump`LibraryExtension[]];
79+
libraryFileName = StringJoin["libSetReplace-", finalHash, ".", Internal`DynamicLibraryExtension[]];
8080
libraryPath = FileNameJoin[{libraryTargetDirectory, libraryFileName}];
8181

8282
calculateBuildData[] := Association[

0 commit comments

Comments
 (0)