mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
Use POSIX sed invocation
Fixes broken build on DragonFly BSD Signed-off-by: Robin Green <greenrd@greenrd.org>
This commit is contained in:
parent
d15faa1dbe
commit
52e4dedf9a
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ $(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym
|
|||
|
||||
notmuch.sym: lib/notmuch.h
|
||||
printf "{\nglobal:\n" > notmuch.sym
|
||||
sed -n 's/^\s*\(notmuch_[a-z_]*\)\s*(.*/\t\1;/p' $< >> notmuch.sym
|
||||
sed -n 's/^[[:space:]]*\(notmuch_[a-z_]*\)[[:space:]]*(.*/'"`printf "\t"`"'\1;/p' $< >> notmuch.sym
|
||||
printf "local: *;\n};\n" >> notmuch.sym
|
||||
|
||||
$(dir)/$(SONAME): $(dir)/$(LIBNAME)
|
||||
|
|
Loading…
Reference in a new issue