Makefile.example: fix option order [ci skip]

The `ld` linker is sensitive to this, and did not find libcurl symbol
with the order before this patch. Seen with mingw-w64 gcc.

Follow-up to f6ddc1fc1e #18554

Closes #18835
This commit is contained in:
Viktor Szakats 2025-10-03 21:15:33 +02:00
parent 733c994b1e
commit 7468faffc1
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -47,4 +47,4 @@ LIBS := -lcurl $(LIBS)
# Link the target with all objects and libraries
$(TARGET) : $(SRC)
$(CC) -o $(TARGET) $(CFLAGS) $(LDFLAGS) $(LIBS) $<
$(CC) $< $(CFLAGS) $(LDFLAGS) $(LIBS) -o $(TARGET)