Last active
January 9, 2024 06:45
-
-
Save adinapoli/bf722db15f72763bf79dff13a3104b6f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/compiler/GHC/Linker/Loader.hs b/compiler/GHC/Linker/Loader.hs | |
index 2456844e91..33dd3def33 100644 | |
--- a/compiler/GHC/Linker/Loader.hs | |
+++ b/compiler/GHC/Linker/Loader.hs | |
@@ -1611,7 +1611,6 @@ locateLib interp hsc_env is_hs lib_dirs gcc_dirs lib0 | |
| otherwise = [ "lib" ++ lib ++ lib_tag <.> "a" | |
, lib <.> "a" -- native code has no lib_tag | |
, "lib" ++ lib | |
- , lib | |
] | |
lib_tag = if is_hs && loading_profiled_hs_libs then "_p" else "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment