mirror of
https://github.com/curl/curl.git
synced 2026-05-30 04:07:27 +03:00
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:
parent
733c994b1e
commit
7468faffc1
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue