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/e_dbus@40838 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

debian/rules

index 6acb8ff..e228d34 100755 (executable)
@@ -6,6 +6,8 @@ include /usr/share/cdbs/1/class/autotools.mk
 DEB_CONFIGURE_SCRIPT := ./autogen.sh
 DEB_MAKE_CLEAN_TARGET := distclean
 DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath
+CFLAGS += -fvisibility=hidden
+LDFLAGS += -fvisibility=hidden
 
 clean::
        [ ! -f Makefile ] || make distclean