Skip to content

Commit dccdf03

Browse files
Force std=gnu99 in manylinux build
This is an experiment to see if it cures the 'static_assert' undefined symbol error reported in bug #133.
1 parent dd0e6ff commit dccdf03

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build-manylinux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
yum install -y libusb-devel libexif-devel libjpeg-turbo-devel \
3131
gd-devel doxygen &&
3232
cd libgphoto2-2.5.28 &&
33-
./configure --prefix=$PWD/local_install --disable-internal-docs &&
33+
./configure --prefix=$PWD/local_install --disable-internal-docs \
34+
CFLAGS="-std=gnu99 -g -O2" &&
3435
make &&
3536
make install &&
3637
cd .. &&

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
python-gphoto2 v\ 2.3.1
1+
python-gphoto2 v\ 2.3.2
22
=======================
33

44
python-gphoto2 is a comprehensive Python interface (or binding) to libgphoto2_.

0 commit comments

Comments
 (0)