Skip to content

Commit

Permalink
Fixup linker script to use our libc_nonshared.a
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Murray <murray.alex@gmail.com>
  • Loading branch information
alexmurray committed Oct 30, 2024
1 parent d836623 commit f1ae004
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,9 @@ parts:
# fix up paths in the various pkg-config files that we ship
find $SNAPCRAFT_STAGE -name *.pc -exec sed -i "s|prefix=$SNAPCRAFT_STAGE|prefix=/snap/emacs/current|" {} \;
# finally fixup linker script to use our libc_nonshared.a
sed -i "s| /usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libc_nonshared.a| /snap/emacs/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libc_nonshared.a|" usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libc.so
site-lisp:
source: site-lisp
plugin: dump
Expand Down

0 comments on commit f1ae004

Please sign in to comment.