• Haitao Li's avatar
    Fix link error with gcc4.6 · 8fe3a04a
    Haitao Li authored
    'make cstatfs' resulting below link error.
      statfs.o: In function `main':
      statfs.cc:(.text.startup+0x168): undefined reference to `fuse_main_real'
      collect2: ld returned 1 exit status
    
    (g++ 4.6.1 Ubuntu Oneiric)
    
    Linker flag '--as-needed' is used by default on Ubuntu Oneiric. This
    patch fixes the link error by change objects and libraries order.
    Signed-off-by: default avatarHaitao Li <lihaitao@gmail.com>
    8fe3a04a
Makefile 274 Bytes