diff --git a/recipes/recipes_native/emscripten-core/activate.sh b/recipes/recipes_native/emscripten-core/activate.sh index e9c8fa3a42c..378c7380604 100644 --- a/recipes/recipes_native/emscripten-core/activate.sh +++ b/recipes/recipes_native/emscripten-core/activate.sh @@ -60,8 +60,8 @@ if [ -z ${CONDA_FORGE_EMSCRIPTEN_ACTIVATED+x} ]; then export SIMD_FLAGS="-msimd128" # basics ld - export EM_FORGE_LDFLAGS_BASE="-L${PREFIX}/lib" - export EM_FORGE_LDFLAGS_BASE="${EM_FORGE_OPTFLAGS} ${EM_FORGE_DBGFLAGS} ${EM_FORGE_LDFLAGS_BASE}" + export LDFLAGS="-L$PREFIX/lib -Wl,-rpath,/lib" + export EM_FORGE_LDFLAGS_BASE="${EM_FORGE_OPTFLAGS} ${EM_FORGE_DBGFLAGS}" # basics cflags export EM_FORGE_CFLAGS_BASE="-fPIC" diff --git a/recipes/recipes_native/emscripten-core/recipe.yaml b/recipes/recipes_native/emscripten-core/recipe.yaml index c7a7bac9edb..e43469a19b8 100644 --- a/recipes/recipes_native/emscripten-core/recipe.yaml +++ b/recipes/recipes_native/emscripten-core/recipe.yaml @@ -4,7 +4,7 @@ context: abi_version: 6.0.8 build: - number: 2 + number: 3 outputs: - package: