Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG-AIX.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

<!-- Add entries here for changes not yet in a release. -->

- Fix SQLite build: link with `-lm` when `SQLITE_ENABLE_MATH_FUNCTIONS` is enabled

---

> **Note:** `datadog-agent-7.80.0-devel.git.446.66c9b62-18.aix.ppc64.bff` and all older builds
Expand Down
2 changes: 1 addition & 1 deletion packaging/aix/stages/01-native-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ else
# Build as a shared library wrapped in a .a archive (AIX convention).
# Python's configure link tests require a shared member to detect sqlite3.
$CC "$CFLAGS" -DSQLITE_ENABLE_MATH_FUNCTIONS -shared -Wl,-brtl -Wl,-bexpall \
sqlite3.c -lpthreads -o libsqlite3.so.0
sqlite3.c -lpthreads -lm -o libsqlite3.so.0
ar -X64 -rcs "$EMBEDDED_DESTDIR/lib/libsqlite3.a" libsqlite3.so.0
cp sqlite3.h sqlite3ext.h "$EMBEDDED_DESTDIR/include/"
lib_cache_save sqlite "$SQLITE_VERSION" "$_pre"
Expand Down
Loading