]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Don't pass all C flags when building C++ library.
authorSimon Josefsson <simon@josefsson.org>
Mon, 19 May 2008 17:48:21 +0000 (19:48 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 19 May 2008 17:48:21 +0000 (19:48 +0200)
lib/Makefile.am

index 660782c5767c2899e77224e06cdce32b2de146fb..d488c11dc14951a02a4074bd6545bd404db07829 100644 (file)
@@ -146,13 +146,13 @@ endif
 # C++ library
 
 if ENABLE_CXX
-CPP_OBJECTS = gnutlsxx.cpp
+libgnutlsxx_la_CPPFLAGS = -I$(top_srcdir)/includes -I../includes
 
 AM_CXXFLAGS = -I$(top_srcdir)/includes/
 
 lib_LTLIBRARIES += libgnutlsxx.la
 
-libgnutlsxx_la_SOURCES = $(CPP_OBJECTS) libgnutlsxx.vers
+libgnutlsxx_la_SOURCES = gnutlsxx.cpp libgnutlsxx.vers
 
 libgnutlsxx_la_LDFLAGS = -no-undefined \
        -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)