aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auto.def1
-rw-r--r--examples.api/Makefile.in (renamed from examples.api/Makefile)3
2 files changed, 3 insertions, 1 deletions
diff --git a/auto.def b/auto.def
index fe6e4a2..4cff73a 100644
--- a/auto.def
+++ b/auto.def
@@ -540,6 +540,7 @@ make-config-header jim-config.h -auto {HAVE_LONG_LONG* JIM_UTF8 SIZEOF_INT} -bar
make-config-header jimautoconf.h -auto {jim_ext_* TCL_PLATFORM_* TCL_LIBRARY USE_* JIM_* _FILE_OFFSET*} -bare {S_I*}
make-template Makefile.in
make-template tests/Makefile.in
+make-template examples.api/Makefile.in
make-template build-jim-ext.in
make-template jimtcl.pc.in
diff --git a/examples.api/Makefile b/examples.api/Makefile.in
index a7cc6d1..6e35a3f 100644
--- a/examples.api/Makefile
+++ b/examples.api/Makefile.in
@@ -1,6 +1,7 @@
CFLAGS+= -Wall -g
CFLAGS+= -I..
-LDLIBS += -L.. -ljim
+LDFLAGS += @LDFLAGS@
+LDLIBS += -L.. -ljim @LDLIBS@
EXAMPLES= \
jim_command \