INN commit: trunk/storage/ovsqlite (ovmethod.mk)

INN Commit rra at isc.org
Thu Jan 7 10:56:07 UTC 2021


    Date: Thursday, January 7, 2021 @ 02:56:07
  Author: iulius
Revision: 10502

ovsqlite-server: fix the build on AIX

AIX needs Libtool objects for the link (only .lo files are generated
in the directory; .o PIC objects are in the .libs subdirectory; only
when --with-pic=no is used at configure time than .o non-PIC objects
are generated, and in the directory).

Modified:
  trunk/storage/ovsqlite/ovmethod.mk

-------------+
 ovmethod.mk |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: ovmethod.mk
===================================================================
--- ovmethod.mk	2021-01-06 22:40:55 UTC (rev 10501)
+++ ovmethod.mk	2021-01-07 10:56:07 UTC (rev 10502)
@@ -1,9 +1,10 @@
 OVSQLITEOBJECTS = ovsqlite/ovsqlite-server.o ovsqlite/sql-main.o \
 	ovsqlite/sql-init.o ovsqlite/sqlite-helper.o \
 	ovsqlite/ovsqlite-private.o
+OVSQLITELOBJECTS = $(OVSQLITEOBJECTS:.o=.lo)
 
-ovsqlite/ovsqlite-server: ${OVSQLITEOBJECTS}
-	$(LIBLD) $(LDFLAGS) $(SQLITE3_LDFLAGS) -o $@ ${OVSQLITEOBJECTS} \
+ovsqlite/ovsqlite-server: $(OVSQLITEOBJECTS) $(OVSQLITELOBJECTS)
+	$(LIBLD) $(LDFLAGS) $(SQLITE3_LDFLAGS) -o $@ $(OVSQLITELOBJECTS) \
 	$(LIBSTORAGE) $(LIBHIST) $(LIBINN) $(STORAGE_LIBS) $(SQLITE3_LIBS) \
 	$(LIBS)
 



More information about the inn-committers mailing list