xdotool-3.20211022.1-makefile.patch 917 B

1234567891011121314151617181920212223242526272829
  1. --- xdotool-3.20211022.1/Makefile.orig 2021-10-22 07:40:46.000000000 +0200
  2. +++ xdotool-3.20211022.1/Makefile 2022-03-30 12:23:31.702427183 +0200
  3. @@ -71,7 +71,7 @@
  4. $(CC) -o xdotool.static xdotool.o xdo.o xdo_search.o $(CMDOBJS) $(LDFLAGS) -lm $(XDOTOOL_LIBS) $(LIBXDO_LIBS)
  5. .PHONY: install
  6. -install: pre-install installlib installprog installman installheader installpc post-install
  7. +install: pre-install installlib installprog installman installheader installpc
  8. .PHONY: pre-install
  9. pre-install:
  10. @@ -128,13 +128,13 @@
  11. *.deb
  12. xdo.o: xdo.c xdo_version.h
  13. - $(CC) $(CFLAGS) -fPIC -c xdo.c
  14. + $(CC) $(LDFLAGS) $(CFLAGS) -fPIC -c xdo.c
  15. xdo_search.o: xdo_search.c
  16. - $(CC) $(CFLAGS) -fPIC -c xdo_search.c
  17. + $(CC) $(LDFLAGS) $(CFLAGS) -fPIC -c xdo_search.c
  18. xdotool.o: xdotool.c xdo_version.h
  19. - $(CC) $(CFLAGS) -c xdotool.c
  20. + $(CC) $(LDFLAGS) $(CFLAGS) -c xdotool.c
  21. xdo_search.c: xdo.h
  22. xdo.c: xdo.h