diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-19 09:22:03 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-19 09:22:03 +0800 |
commit | e4fd03675034dbe97239228c660e6971446b9ee4 (patch) | |
tree | 4286a2cca167bf20fe250742d3c06ed3e14e3b40 | |
parent | 437bfb2ff84fd73f743220f174c64a9c5f6e9ba5 (diff) |
Function export flags
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 006bcc6..3bc28cb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ bin_PROGRAMS = index.js index_js_SOURCES = pages/index.c -index_js_LDFLAGS = -s FETCH +index_js_LDFLAGS = -s EXTRA_EXPORTED_RUNTIME_METHODS=[cwrap] \ + -s EXPORTED_FUNCTIONS=[_index_getproducts] \ + -s FETCH |