]> err.no Git - sope/commitdiff
added MySQL linking flags
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 11 Apr 2005 18:27:08 +0000 (18:27 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 11 Apr 2005 18:27:08 +0000 (18:27 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@718 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-gdl1/MySQL4/GNUmakefile.preamble

index d700c159e574988d318ea86488485ff819535700..22178760e981882c3ff3511672e912980f70891b 100644 (file)
 # If not, write to the Free Software Foundation,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-SQLite3_BUNDLE_LIBS += \
+MySQL4_BUNDLE_LIBS += \
        -lGDLAccess     \
        -lEOControl     \
-       -lsqlite3
+       `mysql_config --libs`
+
+MySQL4D_BUNDLE_LIBS += \
+       -lGDLAccess     \
+       -lEOControl     \
+       `mysql_config --libs`
 
 gdltest_TOOL_LIBS += \
        -lGDLAccess     \
@@ -34,9 +39,8 @@ gdltest_TOOL_LIBS += \
 # set compile flags and go
 
 ADDITIONAL_INCLUDE_DIRS += \
-       -I.. -I../..            \
-       -I/usr/local/include            \
-       -I/usr/include                  \
+       -I.. -I../..    \
+       `mysql_config --include`
 
 ADDITIONAL_LIB_DIRS += \
        -L../GDLAccess/$(GNUSTEP_OBJ_DIR)