diff mbox series

snapcraft: Fix incorrect core20 library path

Message ID 20210927112305.41210-1-colin.king@canonical.com
State Accepted
Headers show
Series snapcraft: Fix incorrect core20 library path | expand

Commit Message

Colin Ian King Sept. 27, 2021, 11:23 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

The libraries are now stored in usr/local, so adjust the library path

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 snapcraft.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ivan Hu Sept. 28, 2021, 1:51 a.m. UTC | #1
On 9/27/21 7:23 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> The libraries are now stored in usr/local, so adjust the library path
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  snapcraft.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/snapcraft.yaml b/snapcraft.yaml
> index da165633..b565ef62 100644
> --- a/snapcraft.yaml
> +++ b/snapcraft.yaml
> @@ -41,4 +41,4 @@ apps:
>          plugs: [home, hardware-observe, io-ports-control, kernel-module-control, log-observe, system-observe ]
>          command: usr/local/bin/fwts
>          environment:
> -            LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/lib/fwts
> +            LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/local/lib/fwts
> 

Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox series

Patch

diff --git a/snapcraft.yaml b/snapcraft.yaml
index da165633..b565ef62 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -41,4 +41,4 @@  apps:
         plugs: [home, hardware-observe, io-ports-control, kernel-module-control, log-observe, system-observe ]
         command: usr/local/bin/fwts
         environment:
-            LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/lib/fwts
+            LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/local/lib/fwts