Created
April 9, 2014 07:26
-
-
Save samuelololol/10235759 to your computer and use it in GitHub Desktop.
add the line 25-30 to make nullprpl protocol plugin can be compiled by the command `make nullprpl.so`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EXTRA_DIST = \ | |
Makefile.mingw \ | |
README | |
pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION) | |
NULLSOURCES = nullprpl.c | |
AM_CFLAGS = $(st) | |
libnull_la_LDFLAGS = -module -avoid-version | |
# nullprpl isn't built by default. when it is built, it's dynamically linked. | |
st = | |
pkg_LTLIBRARIES = libnull.la | |
libnull_la_SOURCES = $(NULLSOURCES) | |
libnull_la_LIBADD = $(GLIB_LIBS) | |
AM_CPPFLAGS = \ | |
-I$(top_srcdir)/libpurple \ | |
-I$(top_builddir)/libpurple \ | |
$(GLIB_CFLAGS) \ | |
$(DEBUG_CFLAGS) | |
SUFFIXES = .c .so | |
.c.so: | |
$(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_builddir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) | |
$(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(pkgdir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) | |
@rm -f tmp$@.lo tmp$@.o libtmp$@.la | |
@cp .libs/libtmp$@*.so $@ | |
@rm -rf .libs/libtmp$@.* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment