[Groonga-mysql-commit] mroonga/mroonga [master] Don't add needless -L option

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Mar 25 21:59:08 JST 2013


Kouhei Sutou	2013-03-25 21:59:08 +0900 (Mon, 25 Mar 2013)

  New Revision: b9f4d46acd44308094885d04567fbff37046822a
  https://github.com/mroonga/mroonga/commit/b9f4d46acd44308094885d04567fbff37046822a

  Message:
    Don't add needless -L option
    
    It is for -lmysqlservices. It should be added only when
    -lmysqlservices is used.

  Modified files:
    Makefile.am

  Modified: Makefile.am (+2 -2)
===================================================================
--- Makefile.am    2013-03-25 11:59:49 +0900 (3976845)
+++ Makefile.am    2013-03-25 21:59:08 +0900 (3512da1)
@@ -11,9 +11,9 @@ libraries =					\
 	$(top_builddir)/lib/libmrn_no_mysql.la	\
 	$(top_builddir)/lib/libmrn_need_mysql.la
 
-dynamic_plugin_ldflags  = -module $(GROONGA_LIBS) -L$(plugindir)/..
+dynamic_plugin_ldflags  = -module $(GROONGA_LIBS)
 if WITH_LIBMYSQLSERVICES
-dynamic_plugin_ldflags += -lmysqlservices
+dynamic_plugin_ldflags += -L$(plugindir)/.. -lmysqlservices
 endif
 dynamic_plugin_cxxflags = $(AM_CXXFLAGS) $(MYSQL_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
 dynamic_plugin_cflags   = $(AM_CFLAGS) $(MYSQL_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index