Skip to content

Commit 545bfb8

Browse files
committed
Add libiconv
1 parent 536d9af commit 545bfb8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

recipes/recipes_emscripten/libiconv/build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ set -eux
55
mkdir _build
66
cd _build
77

8+
export CFLAGS="$CFLAGS -fPIC -fwasm-exceptions"
9+
export CXXFLAGS="$CXXFLAGS -fwasm-exceptions"
10+
export LDFLAGS="$LDFLAGS -fwasm-exceptions"
11+
812
emconfigure ../configure \
9-
CFLAGS="-fPIC" \
13+
CFLAGS="$CFLAGS" \
1014
--prefix=$PREFIX \
1115
--build="x86_64-conda-linux-gnu" \
1216
--host="wasm32-unknown-emscripten" \

recipes/recipes_emscripten/libiconv/recipe.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
context:
2+
name: libiconv
23
version: '1.18'
34

45
package:
5-
name: libiconv
6+
name: ${{ name }}
67
version: ${{ version }}
78

89
source:

0 commit comments

Comments
 (0)