mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-01-13 13:40:54 +00:00
Define _GF_CONFIG_H_ to fix Linux build failing
gpac/configuration.h has a series of default configuration options for various platforms, but it doesn't have a case for Linux and it results in a compilation error if it encounters an unknown platform. The settings in configuration.h don't appear to try to set any defaults for Linux anyway, so we can disable all use of those configuration.h settings by defining _GF_CONFIG_H_.
This commit is contained in:
parent
40f0493973
commit
9164c08979
@ -321,7 +321,7 @@ ccextractor_CPPFLAGS =-I../src/lib_ccx/ -I../src/thirdparty/gpacmp4/ -I../src/th
|
||||
ccextractor_LDADD=-lm
|
||||
|
||||
if SYS_IS_LINUX
|
||||
ccextractor_CFLAGS += -O3 -s -DGPAC_CONFIG_LINUX
|
||||
ccextractor_CFLAGS += -O3 -s -DGPAC_CONFIG_LINUX -D_GF_CONFIG_H_
|
||||
endif
|
||||
|
||||
if SYS_IS_MAC
|
||||
|
Loading…
Reference in New Issue
Block a user