Skip to content

Commit

Permalink
fix build when relying on static configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouqueau committed Apr 30, 2024
1 parent ddc0882 commit 0e41abc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions build/android/jni/libgpac/config.h
Expand Up @@ -3,6 +3,7 @@
#define GF_CONFIG_H

#define GPAC_CONFIG_LINUX 1
#define GF_STATIC static
#define GPAC_HAS_QJS 1
#define GPAC_HAS_MEDIACODEC
#define GPAC_HAS_JPEG 1
Expand Down
5 changes: 2 additions & 3 deletions include/gpac/configuration.h
Expand Up @@ -72,9 +72,6 @@ This section documents the base data types of GPAC.

#define GPAC_MEMORY_TRACKING

/*needed for unittests*/
#define GF_STATIC static

/*Win32 IPv6 is evaluated at compile time, !! do not uncomment !!*/
//#define GPAC_HAS_IPV6

Expand Down Expand Up @@ -224,6 +221,8 @@ This section documents the base data types of GPAC.
#error "Unknown target platform used with static configuration file"
#endif

/*needed for unittests (disabled)*/
#define GF_STATIC static

/*disables player */
//#define GPAC_DISABLE_COMPOSITOR
Expand Down

0 comments on commit 0e41abc

Please sign in to comment.