[csw-devel] SF.net SVN: gar:[10732] csw/mgar/pkg/opendbx/trunk/Makefile

idogan23 at users.sourceforge.net idogan23 at users.sourceforge.net
Sat Aug 14 18:42:30 CEST 2010


Revision: 10732
          http://gar.svn.sourceforge.net/gar/?rev=10732&view=rev
Author:   idogan23
Date:     2010-08-14 16:42:30 +0000 (Sat, 14 Aug 2010)

Log Message:
-----------
opendbx: Fix mysql 64 bit linkage

Modified Paths:
--------------
    csw/mgar/pkg/opendbx/trunk/Makefile

Modified: csw/mgar/pkg/opendbx/trunk/Makefile
===================================================================
--- csw/mgar/pkg/opendbx/trunk/Makefile	2010-08-14 16:33:46 UTC (rev 10731)
+++ csw/mgar/pkg/opendbx/trunk/Makefile	2010-08-14 16:42:30 UTC (rev 10732)
@@ -37,8 +37,12 @@
 BUILD64 = 1
 #EXTRA_BUILD_ISAS_i386 = pentium_pro
 #EXTRA_BUILD_ISAS_sparc = sparcv8plus
-EXTRA_LIB = $(abspath $(prefix)/mysql5/lib/$(MM_LIBDIR)/mysql)
+
 EXTRA_INC = /opt/csw/mysql5/include/mysql
+EXTRA_LINKER_DIRS_32 = $(prefix)/mysql5/lib/mysql
+EXTRA_LINKER_DIRS_64 = $(prefix)/mysql5/lib/64/mysql
+EXTRA_LINKER_FLAGS = -L$(EXTRA_LINKER_DIRS_$(MEMORYMODEL))
+EXTRA_RUNPATH_LINKER_FLAGS = -R$(EXTRA_LINKER_DIRS_$(MEMORYMODEL))
 
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --disable-utils


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list