summarylogtreecommitdiffstats
path: root/makefile.patch
blob: b3e0e57579373dd0b1e880c2760d71aa9a3aba80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git Makefile Makefile
index 4baf9e5..2b5e2e8 100755
--- Makefile
+++ Makefile
@@ -21,7 +21,7 @@ liblazyusf.a : $(OBJS)
 	$(AR) rcs $@ $^
 
 liblazyusf.so: $(OBJS)
-	$(CC) $^ -shared -Wl,-soname -Wl,$@.2 -o $@.2.0
+	$(CC) $(LDFLAGS) $^ -shared -Wl,-soname -Wl,$@.2 -o $@.2.0
 
 bench : test/bench.o liblazyusf.a
 	$(CC) -o $@ $^ ../psflib/libpsflib.a -lz -lm