From 57ae59785b71326dde94ff5fe36b07c9298bf911 Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Mon, 9 Aug 2021 13:42:47 +0000 Subject: [PATCH] Add missing -fexceptions link flag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4c952ea..aca1a42 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ export LDFLAGS += $(COMMON_FLAGS) libapi.mjs: api.o $(SYSROOT)/lib/libltdl.la $(SYSROOT)/lib/libgphoto2.la libtool --verbose --mode=link $(LD) $(LDFLAGS) -o $@ $+ \ - --bind -s ASYNCIFY -s ALLOW_MEMORY_GROWTH \ + -fexceptions --bind -s ASYNCIFY -s ALLOW_MEMORY_GROWTH \ -dlpreopen $(SYSROOT)/lib/libgphoto2/2.5.27.1/ptp2.la \ -dlpreopen $(SYSROOT)/lib/libgphoto2_port/0.12.0/usb1.la