You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.2 KiB

  1. diff -rupN seafile-ccnet-5.1.1.orig/lib/Makefile.am seafile-ccnet-5.1.1/lib/Makefile.am
  2. --- seafile-ccnet-5.1.1.orig/lib/Makefile.am 2016-04-21 11:04:46.000000000 +0200
  3. +++ seafile-ccnet-5.1.1/lib/Makefile.am 2016-04-22 10:02:52.583732050 +0200
  4. @@ -1,3 +1,4 @@
  5. +include $(TOPDIR)/rules.mk
  6. AM_CPPFLAGS = @GLIB2_CFLAGS@ -I$(top_srcdir)/include \
  7. -I$(top_srcdir)/include/ccnet \
  8. @@ -72,11 +73,11 @@ ccnet-client.c: ccnet-object.h
  9. ccnet-object.h: ${ccnet_object_define}
  10. rm -f $@
  11. - valac --pkg posix ${ccnet_object_define} -C -H ccnet-object.h
  12. + "$(STAGING_DIR_HOST)/bin/valac" --pkg posix ${ccnet_object_define} -C -H ccnet-object.h
  13. ccnetobj.c: ${ccnet_object_define}
  14. rm -f $@
  15. - valac -C --pkg posix ${ccnet_object_define}
  16. + "$(STAGING_DIR_HOST)/bin/valac" -C --pkg posix ${ccnet_object_define}
  17. searpc_gen = searpc-signature.h searpc-marshal.h
  18. @@ -86,7 +87,7 @@ rpc_table.stamp: ${top_srcdir}/lib/rpc_t
  19. @rm -f rpc_table.tmp
  20. @touch rpc_table.tmp
  21. @echo "[libsearpc]: generating rpc header files"
  22. - @PYTHON@ `which searpc-codegen.py` ${top_srcdir}/lib/rpc_table.py
  23. + @PYTHON@ "$(STAGING_DIR)/usr/bin/searpc-codegen.py" ${top_srcdir}/lib/rpc_table.py
  24. @echo "[libsearpc]: done"
  25. @mv -f rpc_table.tmp $@