summaryrefslogtreecommitdiff
path: root/lib/libalpm/Makefile.am
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-04-15 19:07:51 -0500
committerDan McGee <dan@archlinux.org>2008-04-15 19:07:51 -0500
commitbf84c232664fdce4861a2b94ce895c2b160b355a (patch)
tree874eac1acbf4c6f83407a32493b5053d76c72158 /lib/libalpm/Makefile.am
parentba70c52945c9e568100ca3a4eeb3ea1208d378ad (diff)
parent0d8affeac01f40470c50e22cf721bd7a9b12050a (diff)
downloadpacman-bf84c232664fdce4861a2b94ce895c2b160b355a.tar.xz
Merge branch 'maint'
Diffstat (limited to 'lib/libalpm/Makefile.am')
-rw-r--r--lib/libalpm/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
index 8c0f742d..7b737363 100644
--- a/lib/libalpm/Makefile.am
+++ b/lib/libalpm/Makefile.am
@@ -10,8 +10,12 @@ DEFS = -DLOCALEDIR=\"@localedir@\" @DEFS@
AM_CFLAGS = -pedantic -D_GNU_SOURCE
if ENABLE_VISIBILITY_CC
+if DARWIN
+AM_CFLAGS += -fvisibility=hidden
+else
AM_CFLAGS += -fvisibility=internal
endif
+endif
if ENABLE_GNU89_INLINE_CC
AM_CFLAGS += -fgnu89-inline
endif
@@ -41,5 +45,6 @@ libalpm_la_SOURCES = \
util.h util.c
libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO)
+libalpm_la_LIBADD = $(LTLIBINTL)
# vim:set ts=2 sw=2 noet: