updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / libdecodeqr / fix_library_build.diff
blob0ce837d2cfd6c7221e438557229a4ed97994974c
1 --- a/src/libdecodeqr/Makefile.in 2008-04-04 13:05:25.000000000 +0900
2 +++ a/src/libdecodeqr/Makefile.in 2008-04-04 13:06:33.000000000 +0900
3 @@ -31,9 +31,9 @@
4 ARFLAGS=rcs
6 LD=@LD@
7 -LDFLAGS=@LDFLAGS@ -shared -soname $(SONAME)
8 +LDFLAGS=@LDFLAGS@ -shared -Wl,-soname,$(SONAME)
9 LIBCV=@LIBCV@
10 LIBS=$(LIBCV)
12 INSTALL=@INSTALL@
13 LDCONFIG=/sbin/ldconfig
14 @@ -53,7 +53,7 @@
15 $(AR) $(ARFLAGS) $@ $(objs)
17 $(LIBNAME_SO): $(objs)
18 - $(LD) -o $@ $(objs) $(LDFLAGS) $(LIBS)
19 + $(CXX) -o $@ $(objs) $(LDFLAGS) $(LIBS)
21 install: $(dsts)
22 $(INSTALL) -m 0755 $(LIBNAME_A) $(LIBNAME_SO) $(libdir)