aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--debian/patches/targets-to-build-shlib.patch2
-rw-r--r--debian/patches/targets-to-build-static-lib.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/targets-to-build-shlib.patch b/debian/patches/targets-to-build-shlib.patch
index f5951bf..1182c74 100644
--- a/debian/patches/targets-to-build-shlib.patch
+++ b/debian/patches/targets-to-build-shlib.patch
@@ -31,7 +31,7 @@ index 2b06881..c438f1a 100644
+
+test-shlib: test.c $(TARGET_LIB)
+ if [ ! -e libzxcvbn.so ]; then ln -s $(TARGET_LIB) libzxcvbn.so; fi
-+ gcc $(CFLAGS) -o $@ test.c -L. -lm -lzxcvbn
++ gcc $(CFLAGS) -o $@ test.c -L. -lzxcvbn -lm
+
+$(TARGET_LIB): zxcvbn-inline.o
+ gcc $(CFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-soname,$(SONAME) -o $@ $^ -lm
diff --git a/debian/patches/targets-to-build-static-lib.patch b/debian/patches/targets-to-build-static-lib.patch
index 5f63401..9a8c7ce 100644
--- a/debian/patches/targets-to-build-static-lib.patch
+++ b/debian/patches/targets-to-build-static-lib.patch
@@ -24,7 +24,7 @@ index c438f1a..c2b5df1 100644
gcc $(CFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-soname,$(SONAME) -o $@ $^ -lm
+test-statlib: test.c libzxcvbn.a
-+ gcc $(CFLAGS) $(LDFLAGS) -static -o $@ test.c -L. -lm -lzxcvbn
++ gcc $(CFLAGS) $(LDFLAGS) -static -o $@ test.c -L. -lzxcvbn -lm
+
+libzxcvbn.a: zxcvbn-inline.o
+ ar rcs $@ $^