Skip to content

Commit

Permalink
Addressing linking error raised in issue #28
Browse files Browse the repository at this point in the history
#28 (comment)
In Debian's GCC 9, the linker is senstive to the ordering of the
libraries and object files.
  • Loading branch information
fangfufu committed Aug 24, 2019
1 parent 91f644b commit 97ecbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ all: httpdirfs
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c -o $@ $<

httpdirfs: $(COBJS)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $^ $(LDFLAGS)

install:
install -m 755 -D httpdirfs \
Expand Down

0 comments on commit 97ecbff

Please sign in to comment.