fix debian rules files.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 26 May 2009 17:34:53 +0000 (17:34 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 26 May 2009 17:34:53 +0000 (17:34 +0000)
 * fix the way AC_INIT macros are parsed to consider [] as well.
 * set both LDFLAGS and CFLAGS on the libs I use and I know support -fvisibility=hidden.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@40838 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

debian/rules

index 2f1564e..5018117 100755 (executable)
@@ -7,6 +7,8 @@ include /usr/share/cdbs/1/rules/simple-patchsys.mk
 DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath --enable-doc
 DEB_CONFIGURE_SCRIPT := ./autogen.sh
 DEB_MAKE_CLEAN_TARGET := distclean
+CFLAGS += -fvisibility=hidden
+LDFLAGS += -fvisibility=hidden
 
 build/libefreet-doc::
        cd $(DEB_SRCDIR)/doc && make doc