LDFLAGS += -fpic LIBS += -lrt -lpthread oneiric has the default linker flag --as-needed which requires objects needing symbols to be placed before libraries provided. Else the libraries will be dropped as they appear to be not needed.
well behaved build systems place LIBS, LDADD or LIBADD at the correct position -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/858457 Title: LDFLAGS+= -pthread -lrt -fPIC doesn't work via debian/rules at Launchpad To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/858457/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
