Revert "fix makefile link order"

This reverts commit 377b474b40.

There still are problems with the link order.
Revert to the known-good version.
pull/85/head
rofl0r 2015-06-04 21:03:25 +01:00
parent f35f14c1ed
commit fda4ba37ec
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ src/version.o: src/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_MAIN) $(INC) $(PIC) -c -o $@ $<
$(LDSO_PATHNAME): $(LOBJS)
$(CC) -shared $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) -lpthread $(LIBDL) -o $@ $(LOBJS)
$(CC) -shared -lpthread $(LIBDL) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) -o $@ $(LOBJS)
$(ALL_TOOLS): $(OBJS)
$(CC) $(LDFLAGS) src/main.o src/common.o -o $(PXCHAINS)