010-cross-compile.patch 610 B

123456789101112131415161718192021222324
  1. --- iodine-0.7.0.orig/src/osflags
  2. +++ iodine-0.7.0/src/osflags
  3. @@ -16,12 +16,6 @@ link)
  4. windows32)
  5. echo '-lws2_32 -liphlpapi';
  6. ;;
  7. - Linux)
  8. - FLAGS="";
  9. - [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
  10. - [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
  11. - echo $FLAGS;
  12. - ;;
  13. esac
  14. ;;
  15. cflags)
  16. @@ -34,8 +28,6 @@ cflags)
  17. ;;
  18. Linux)
  19. FLAGS="-D_GNU_SOURCE"
  20. - [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
  21. - [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
  22. echo $FLAGS;
  23. ;;
  24. esac