Commit 7513e496 authored by Georges Khaznadar's avatar Georges Khaznadar

fixed a bug which appears with newer versions of autotool

parent 376fb876
This diff is collapsed.
fixed a bug which appears with newer versions of autotools
Index: expeyes/Makefile
===================================================================
--- expeyes.orig/Makefile
+++ expeyes/Makefile
@@ -87,9 +87,7 @@ clean:
# clean the bootloader hex file
make -C microhope/firmware clean
# clean the autconf generated files
- for f in Makefile.in aclocal.m4 config.guess config.sub configure ltmain.sh m4/libtool.m4 m4/ltoptions.m4 m4/ltversion.m4 src/Makefile.in; do \
- rm -f clib/expeyes-clib/$$f; \
- done
+ cd clib/expeyes-clib; sh clean-all.sh
.PHONY: all all_indep install install_indep clean
Index: expeyes/clib/expeyes-clib/src/Makefile.am
===================================================================
--- expeyes.orig/clib/expeyes-clib/src/Makefile.am
+++ expeyes/clib/expeyes-clib/src/Makefile.am
@@ -2,6 +2,8 @@ bin_PROGRAMS = capdemo1 capdemo2 capdemo
lib_LTLIBRARIES = libej.la
+$(bin_PROGRAMS): $(lib_LTLIBRARIES)
+
LDADD = -ldl #-L must be use to specify the folder for dl library
AM_CFLAGS = -Wall
autotool-clib.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment