Addressing linking error raised in issue #28
https://github.com/fangfufu/httpdirfs/issues/28#issuecomment-524497552 In Debian's GCC 9, the linker is senstive to the ordering of the libraries and object files.
This commit is contained in:
parent
91f644b765
commit
97ecbffca0
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@ all: httpdirfs
|
||||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c -o $@ $<
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
httpdirfs: $(COBJS)
|
httpdirfs: $(COBJS)
|
||||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^
|
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -m 755 -D httpdirfs \
|
install -m 755 -D httpdirfs \
|
||||||
|
|
Loading…
Reference in New Issue