Commit 0ec205b9 authored by LRN's avatar LRN

W32: Remove custom libgedit.a import library

Since we have a real, shared libgedit.dll, we can have a real libgedit.dll.a
import library.

https://bugzilla.gnome.org/show_bug.cgi?id=727663
parent 619b97c2
......@@ -406,7 +406,7 @@ fi
# so we create a lib
if test "$platform_win32" = yes; then
GEDIT_IMPLIB="-lgedit-$GEDIT_API_VERSION"
PLUGIN_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -Wl,\$(top_builddir)/gedit/libgedit.a"
PLUGIN_LIBTOOL_FLAGS="-module -avoid-version -no-undefined"
if test "$os_win32" = yes; then
PLUGIN_LIBTOOL_FLAGS="${PLUGIN_LIBTOOL_FLAGS} -mwindows"
fi
......
......@@ -28,11 +28,7 @@ gedit_gedit_LDADD = \
gedit_gedit_SOURCES = gedit/gedit.c
if PLATFORM_WIN32
gedit_gedit_LDFLAGS = -Wl,--export-all-symbols -Wl,--out-implib,libgedit.a
else
gedit_gedit_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
endif
gedit_libgedit_la_CPPFLAGS = $(gedit_common_cppflags)
gedit_libgedit_la_CFLAGS = $(gedit_common_cflags)
......@@ -308,7 +304,6 @@ endif # ENABLE_VAPIGEN
install-exec-hook:
if PLATFORM_WIN32
$(mkinstalldirs) "$(DESTDIR)$(libdir)"
$(INSTALL_DATA) gedit/libgedit.a "$(DESTDIR)$(libdir)"
else
rm -f $(DESTDIR)$(bindir)/gnome-text-editor
ln -s gedit $(DESTDIR)$(bindir)/gnome-text-editor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment