Browse Source
Merge pull request #2480 from tinywrkb/libm_link
dist-files/Makefile.sharedlibrary: link against libm
pull/2496/head
Sami Vaarala
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
2 deletions
-
AUTHORS.rst
-
dist-files/Makefile.sharedlibrary
|
|
@ -72,6 +72,7 @@ and agreed to irrevocably license their contributions under the Duktape |
|
|
|
* Vladislavs Sokurenko (https://github.com/sokurenko) |
|
|
|
* Luca Boccassi (https://github.com/bluca) |
|
|
|
* Radu Rendec (https://github.com/rrendec) |
|
|
|
* tinywrkb (https://github.com/tinywrkb) |
|
|
|
|
|
|
|
Other contributions |
|
|
|
=================== |
|
|
|
|
|
@ -71,11 +71,11 @@ all: libduktape.$(SO_REALNAME_SUFFIX) libduktaped.$(SO_REALNAME_SUFFIX) duktape. |
|
|
|
|
|
|
|
libduktape.$(SO_REALNAME_SUFFIX): |
|
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -fPIC -Wall -Wextra -Os -Wl,$(LD_SONAME_ARG),libduktape.$(SO_SONAME_SUFFIX) \
|
|
|
|
-o $@ $(DUKTAPE_SRCDIR)/duktape.c |
|
|
|
-o $@ $(DUKTAPE_SRCDIR)/duktape.c -lm |
|
|
|
|
|
|
|
libduktaped.$(SO_REALNAME_SUFFIX): |
|
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -fPIC -g -Wall -Wextra -Os -Wl,$(LD_SONAME_ARG),libduktaped.$(SO_SONAME_SUFFIX) \
|
|
|
|
-o $@ $(DUKTAPE_SRCDIR)/duktape.c |
|
|
|
-o $@ $(DUKTAPE_SRCDIR)/duktape.c -lm |
|
|
|
|
|
|
|
duktape.pc: |
|
|
|
sed -e "s|@PREFIX@|$(INSTALL_PREFIX)|" \
|
|
|
|