summarylogtreecommitdiffstats
path: root/makefile.patch
blob: ad3ab79a302a12c517c9dc224bd04726dead9a50 (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