diff options
author | Rob Kendrick (monotony) <rjek@rjek.com> | 2012-07-31 09:27:21 +0100 |
---|---|---|
committer | Rob Kendrick (monotony) <rjek@rjek.com> | 2012-07-31 09:27:21 +0100 |
commit | 5e2e9bb2e6fb7ce5f3f1a6d3ec42cded08749e46 (patch) | |
tree | 6d49c1c9a1569b3165ccc9cee1ba8c941d84960d /Makefile | |
parent | f1841c4afc4ee1767b478f1e8d769b24925d91c7 (diff) | |
download | luxio-5e2e9bb2e6fb7ce5f3f1a6d3ec42cded08749e46.tar.gz |
Tweak to makefile to allow setting of LDFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -70,7 +70,7 @@ lua-5.1-install: lua-5.1 $(INSTALL) -m 644 $(LUALIBS) $(DESTDIR)$(LUA51_LMOD_INST)/luxio/ luxio-5.1.so: luxio-5.1.o - $(CC) -shared -Wl,--no-as-needed -o luxio-5.1.so $(LUA51_LIB) -lrt $^ + $(CC) $(LDFLAGS) -shared -Wl,--no-as-needed -o luxio-5.1.so $(LUA51_LIB) -lrt $^ lua-5.2: luxio-5.2.so ln -s -f luxio-5.2.so luxio.so @@ -83,7 +83,7 @@ lua-5.2-install: lua-5.2 luxio-5.2.so: luxio-5.2.o - $(CC) -shared -Wl,--no-as-needed -o luxio-5.2.so $(LUA52_LIB) -lrt $^ + $(CC) $(LDFLAGS) -shared -Wl,--no-as-needed -o luxio-5.2.so $(LUA52_LIB) -lrt $^ luxio-5.1.o: luxio.c luxio_constants.h $(CC) $(CFLAGS) -fPIC $(LUA51_INC) -c $< -o $@ |