lib: make Curl_easyopts const

Also, make the optiontable rule work in an out-of-tree build.

Closes #16950
This commit is contained in:
Dan Fandrich 2025-04-03 13:41:50 -07:00
parent 9f4f61ddcb
commit 9ba597bed7
5 changed files with 6 additions and 6 deletions

View file

@ -185,7 +185,7 @@ tidy:
$(TIDY) $$_csources $(TIDYFLAGS) $(CURL_CLANG_TIDYFLAGS) -- $(AM_CPPFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H)
optiontable:
perl optiontable.pl < $(top_srcdir)/include/curl/curl.h > easyoptions.c
@PERL@ $(srcdir)/optiontable.pl < $(top_srcdir)/include/curl/curl.h > $(srcdir)/easyoptions.c
if HAVE_WINDRES
.rc.lo: