]> err.no Git - dak/commitdiff
Link sql-aptvc with $(CC) not $(C++) to avoid including broken libs
authorAnthony Towns <aj@azure.humbug.org.au>
Wed, 5 Dec 2007 06:47:18 +0000 (06:47 +0000)
committerAnthony Towns <aj@azure.humbug.org.au>
Wed, 5 Dec 2007 06:47:18 +0000 (06:47 +0000)
src/Makefile

index 68ead5837758ba4dacbc211655c44f3023d5c7d5..b45b07d8a3a762450441b2d1f0ff4c302d53911a 100644 (file)
@@ -11,7 +11,7 @@ all: sql-aptvc.so
 
 sql-aptvc.o: sql-aptvc.cpp
 sql-aptvc.so: sql-aptvc.o
-       $(C++) $(LDFLAGS) $(LIBS) -shared -o $@ $<
+       $(CC) $(LDFLAGS) $(LIBS) -shared -o $@ $<
 clean:
        rm -f sql-aptvc.so sql-aptvc.o