Revert "multipath-tools: arrange compilation options for shared libs/objects"
[multipath-tools/.git] / libmultipath / Makefile
index c5f4052..1f5ec25 100644 (file)
@@ -47,7 +47,7 @@ OBJS = memory.o parser.o vector.o devmapper.o callout.o \
 all: $(LIBS)
 
 $(LIBS): $(OBJS)
 all: $(LIBS)
 
 $(LIBS): $(OBJS)
-       $(CC) $(SHARED_FLAGS) $(LDFLAGS) $(LIBDEPS) -Wl,-soname=$@ $(OBJS) -o $@
+       $(CC) $(LDFLAGS) $(SHARED_FLAGS) -Wl,-soname=$@ -o $@ $(OBJS) $(LIBDEPS)
        $(LN) $@ $(DEVLIB)
 
 install:
        $(LN) $@ $(DEVLIB)
 
 install: