From b6ce92cf3a6d7dad0773d895403a6627103b1a64 Mon Sep 17 00:00:00 2001 From: Nikolai Merinov Date: Fri, 8 Feb 2019 17:18:58 +0300 Subject: Move -DEXPORTED to Makefile.am --- packaging/ise-engine-anthy.spec | 1 - src/Makefile.am | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/ise-engine-anthy.spec b/packaging/ise-engine-anthy.spec index e02ff16..895bccb 100644 --- a/packaging/ise-engine-anthy.spec +++ b/packaging/ise-engine-anthy.spec @@ -22,7 +22,6 @@ ise-engine-anthy is ISF IMEngine module for Japanese input method base.It conver %build export CFLAGS+=" -fvisibility=hidden " export CXXFLAGS+=" -fvisibility=hidden " -export CPPFLAGS+=" -DEXPORTED=__attribute__\(\(visibility\(\\\"default\\\"\)\)\)" ./bootstrap %configure --prefix=%{_prefix} --disable-static diff --git a/src/Makefile.am b/src/Makefile.am index a05920f..00ff92f 100755 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,7 +19,8 @@ AM_CPPFLAGS = \ -DSCIM_ANTHY_LOCALEDIR=\"$(datadir)/locale\" \ -DSCIM_ICONDIR=\"@SCIM_ICONDIR@\" \ -DSCIM_ANTHY_DATADIR=\"@SCIM_ANTHY_DATADIR@\" \ - -DSCIM_ANTHY_STYLEDIR=\"@SCIM_ANTHY_DATADIR@/style\" + -DSCIM_ANTHY_STYLEDIR=\"@SCIM_ANTHY_DATADIR@/style\" \ + -DEXPORTED="__attribute__((visibility(\"default\")))" INCLUDE = \ -I$(top_builddir) \ -I$(top_srcdir) \ -- cgit v1.2.3