boostorg / interprocess

Boost.org interprocess module
http://boost.org/libs/interprocess
134 stars 117 forks source link

Fix: emscripten doesn't support shm #188

Closed eagleoflqj closed 1 year ago

eagleoflqj commented 1 year ago

I met an error

wasm-ld: error: build/sysroot/usr/local/lib/librime.a(mapped_file.cc.o): undefined symbol: shmdt

From https://stackoverflow.com/questions/60285563/shared-memory-sys-shm-h-with-emscripten it seems emscripten doesn't support shm. I applied this patch so it linked successfully.

eagleoflqj commented 1 year ago

@igaztanaga Could you please take a look at this?

igaztanaga commented 1 year ago

Thanks for the patch!