Rename jerry-libm to jerry-math (#4410)
That "libm" in the name of the library resulted in awkward naming on *nix systems (`libjerry-libm.*`, "lib" occurring twice). And the name of the corresponding header is `math.h` anyway. Note that this is a breaking change in some sense. The commit contains no API change, but the build system does change for users of the math library. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -47,7 +47,7 @@ libjerry:
|
||||
-DCMAKE_C_COMPILER_WORKS=TRUE \
|
||||
-DENABLE_LTO=OFF \
|
||||
-DENABLE_ALL_IN_ONE=OFF \
|
||||
-DJERRY_LIBM=OFF \
|
||||
-DJERRY_MATH=OFF \
|
||||
-DJERRY_CMDLINE=OFF \
|
||||
-DJERRY_PROFILE="es5.1" \
|
||||
-DEXTERNAL_COMPILE_FLAGS="$(EXT_CFLAGS)" \
|
||||
|
||||
@@ -42,7 +42,7 @@ make -f ./targets/riot-stm32f4/Makefile.riot
|
||||
This will generate the following libraries:
|
||||
```
|
||||
/build/bin/release.riotstm32f4/librelease.jerry-core.a
|
||||
/build/bin/release.riotstm32f4/librelease.jerry-libm.lib.a
|
||||
/build/bin/release.riotstm32f4/librelease.jerry-math.lib.a
|
||||
```
|
||||
|
||||
This will copy one library files to `targets/riot-stm32f4/bin` folder:
|
||||
|
||||
Reference in New Issue
Block a user