diff options
author | Rob Kendrick (trite) <rjek@rjek.com> | 2013-06-09 11:47:33 +0100 |
---|---|---|
committer | Rob Kendrick (trite) <rjek@rjek.com> | 2013-06-09 11:47:33 +0100 |
commit | 20dcdb3c45c27445806260d4b6e94f105c62338e (patch) | |
tree | de3176745535930ac44912a1fac88ddecda95ec6 | |
parent | 8f6d87b5d50091c0d5fd6d38949488cb7b9f8570 (diff) | |
download | luxio-20dcdb3c45c27445806260d4b6e94f105c62338e.tar.gz |
Reorder link lines to cope with systems that automatically pass --no-as-needed to the linker and other horrors.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -134,7 +134,7 @@ lua-5.1-install: lua-5.1 $(INSTALL) luxio-5.1 $(DESTDIR)$(PREFIX)/bin/luxio-5.1 luxio-5.1.so: luxio-5.1.o - $(CC) $(LDFLAGS) -shared -o luxio-5.1.so $(LUA51_LIB) $(EXTRA_LIBS) $^ + $(CC) $(LDFLAGS) -shared -o luxio-5.1.so $^ $(LUA51_LIB) $(EXTRA_LIBS) luxio-5.1: lua-5.1.c luxio-5.1.o $(CC) -o luxio-5.1 $(CFLAGS) $(LUA51_INC) lua-5.1.c luxio-5.1.o $(LUA51_LIB) $(EXTRA_LIBS) @@ -151,7 +151,7 @@ lua-5.2-install: lua-5.2 $(INSTALL) luxio-5.2 $(DESTDIR)$(PREFIX)/bin/luxio-5.2 luxio-5.2.so: luxio-5.2.o - $(CC) $(LDFLAGS) -shared -o luxio-5.2.so $(LUA52_LIB) $(EXTRA_LIBS) $^ + $(CC) $(LDFLAGS) -shared -o luxio-5.2.so $^ $(LUA52_LIB) $(EXTRA_LIBS) luxio-5.2: lua-5.2.c luxio-5.2.o $(CC) -o luxio-5.2 $(CFLAGS) $(LUA52_INC) lua-5.2.c luxio-5.2.o $(LUA52_LIB) $(EXTRA_LIBS) |