[glib-networking] test connection is not PKCS#11 related



commit a6df039b9a847a2b9c15626301d3d411ec403ebf
Author: Gilles Dartiguelongue <eva gentoo org>
Date:   Fri Apr 25 22:59:01 2014 +0200

    test connection is not PKCS#11 related
    
    Avoids silly test failure:
    
    CCLD     connection
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../lib64/Scrt1.o: In
    function `_start':
    (.text+0x20): undefined reference to `main'
    collect2: error: ld returned 1 exit status
    Makefile:897: recipe for target 'connection' failed
    make[4]: *** [connection] Error 1
    
    https://bugzilla.gnome.org/show_bug.cgi?id=728977

 tls/tests/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tls/tests/Makefile.am b/tls/tests/Makefile.am
index 2dd071e..55e5032 100644
--- a/tls/tests/Makefile.am
+++ b/tls/tests/Makefile.am
@@ -17,6 +17,9 @@ test_programs =       \
        connection    \
        $(NULL)
 
+connection_SOURCES = connection.c \
+       mock-interaction.c mock-interaction.h
+
 if HAVE_PKCS11
 
 test_programs +=           \
@@ -34,9 +37,6 @@ pkcs11_slot_SOURCES = pkcs11-slot.c \
        mock-pkcs11.c mock-pkcs11.h \
        mock-interaction.c mock-interaction.h
 
-connection_SOURCES = connection.c \
-       mock-interaction.c mock-interaction.h
-
 endif
 
 testfiles_data =                               \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]