diff options
Diffstat (limited to 'src/Makefile.am')
| -rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 6810d6d9d..c7381546b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -212,7 +212,11 @@ libinkscape_a_SOURCES = $(ink_common_sources) inkscape_SOURCES += main.cpp $(win32_sources) inkscape_LDADD = $(all_libs) +if EXPORT_DYNAMIC_DIRECT inkscape_LDFLAGS = --export-dynamic $(kdeldflags) $(mwindows) +else +inkscape_LDFLAGS = -Wl,--export-dynamic $(kdeldflags) $(mwindows) +endif inkview_SOURCES += inkview.cpp $(win32_sources) inkview_LDADD = $(all_libs) |
