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:
Fufu Fang 2019-08-24 17:42:06 +01:00
parent 91f644b765
commit 97ecbffca0
1 changed files with 1 additions and 1 deletions

View File

@ -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 \