20 lines
487 B
Diff
20 lines
487 B
Diff
|
--- qclib-1.2.0.old/Makefile 2016-06-03 03:14:01.000000000 -0400
|
||
|
+++ qclib-1.2.0/Makefile 2016-11-08 08:38:37.926521117 -0500
|
||
|
@@ -37,7 +37,7 @@
|
||
|
$(AR) rcs $@ $^
|
||
|
|
||
|
libqc.so.$(VERSION): $(OBJECTS)
|
||
|
- $(LINK) -shared $^ -o $@
|
||
|
+ $(LINK) -Wl,-soname,libqc.so.$(VERM) -shared $^ -o $@
|
||
|
|
||
|
qc_test: qc_test.c libqc.a
|
||
|
$(CC) $(CFLAGS) -static $< -L. -lqc -o $@
|
||
|
@@ -49,6 +49,7 @@
|
||
|
./$<
|
||
|
|
||
|
test-sh: qc_test-sh
|
||
|
+ ln -srf libqc.so.$(VERSION) libqc.so.$(VERM)
|
||
|
LD_LIBRARY_PATH=. ./$<
|
||
|
|
||
|
doc: html
|