aboutsummaryrefslogtreecommitdiffhomepage
path: root/debian
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-09-24 16:20:30 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-09-24 16:20:30 -0700
commit83dda11116405b237fef741eb3231c55df59f762 (patch)
tree65b1edca872fad07fde4a51a983e77425b7cf3ad /debian
parentfa97c8522d72b6a98ddfba094d3371424caaaf47 (diff)
downloadzxcvbn-c-83dda11116405b237fef741eb3231c55df59f762.tar.gz
use $< in shlib target
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/targets-to-build-shlib.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/targets-to-build-shlib.patch b/debian/patches/targets-to-build-shlib.patch
index 8550085..4351148 100644
--- a/debian/patches/targets-to-build-shlib.patch
+++ b/debian/patches/targets-to-build-shlib.patch
@@ -31,7 +31,7 @@ index 2b06881..d8cf510 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. -lzxcvbn -lm
++ gcc $(CFLAGS) -o $@ $< -L. -lzxcvbn -lm
+
+$(TARGET_LIB): zxcvbn-inline.o
+ gcc $(CFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-soname,$(SONAME) -o $@ $^ -lm