Skip to content

Commit

Permalink
Add a compatibility symlink json->json-c in the include directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
hawicz committed Jul 29, 2012
1 parent 075b783 commit 943b7a4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@ distclean-local:
-rm -rf $(testsubdir)
-rm -rf config.h.in~ Makefile.in aclocal.m4 autom4te.cache/ config.guess config.sub configure depcomp install-sh ltmain.sh missing

if ENABLE_OLDNAME_COMPAT
install-data-hook:
test \! -d "$(includedir)/json" || rmdir "$(includedir)/json"
test \! -e "$(includedir)/json" || rm "$(includedir)/json"
$(LN_S) json-c "$(includedir)/json"

uninstall-local:
rm -f "$(includedir)/json"

endif

ANDROID_CFLAGS = -I$(top_srcdir) -DHAVE_CONFIG_H

Android.mk: Makefile.am
Expand Down

0 comments on commit 943b7a4

Please sign in to comment.