Revert "Set PKG_CONFIG_CFLAGS properly" 66/169066/1 accepted/tizen_5.0_unified accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.0 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.0/unified/20181102.030754 accepted/tizen/5.5/unified/20191031.012129 accepted/tizen/5.5/unified/mobile/hotfix/20201027.074431 accepted/tizen/5.5/unified/wearable/hotfix/20201027.100755 accepted/tizen/unified/20180212.062411 submit/tizen/20180212.033511 submit/tizen_5.0/20181101.000007 submit/tizen_5.5/20191031.000007 submit/tizen_5.5_mobile_hotfix/20201026.185107 submit/tizen_5.5_wearable_hotfix/20201026.184307 tizen_5.5.m2_release
authorSeungbae Shin <seungbae.shin@samsung.com>
Fri, 2 Feb 2018 05:42:46 +0000 (14:42 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Fri, 2 Feb 2018 05:43:29 +0000 (14:43 +0900)
This reverts commit d99fad7f2f527680a2d2d1738eb275e63663ea4e.

Change-Id: I34d8e76ff223c72e27d4f256b355b4408ae01754

CMakeLists.txt
include/AL/alc.h
packaging/openal-soft.spec

index e9165c4..50c3612 100644 (file)
@@ -1077,7 +1077,9 @@ IF(LIBTYPE STREQUAL "STATIC")
     SET(PKG_CONFIG_CFLAGS -DAL_LIBTYPE_STATIC ${PKG_CONFIG_CFLAGS})
 ENDIF()
 
-SET(PKG_CONFIG_CFLAGS "${PKG_CONFIG_CFLAGS} -D__TIZEN__")
+IF(DEFINED ENV{TIZEN_BUILD})
+    SET(PKG_CONFIG_CFLAGS "${PKG_CONFIG_CFLAGS} -D__TIZEN__")
+ENDIF()
 
 SET(PKG_CONFIG_REQUIRES "capi-media-sound-manager")
 
index 0dcdd53..afd166a 100644 (file)
@@ -21,6 +21,7 @@ extern "C" {
  #define ALC_APIENTRY
 #endif
 
+#define __TIZEN__
 #ifdef __TIZEN__
 #include <sound_manager.h>
 #endif
index e9a3567..6525184 100644 (file)
@@ -1,6 +1,6 @@
 Name:           openal-soft
 Version:        1.17.2
-Release:        17
+Release:        16
 License:        LGPL-2.0+
 Summary:        A cross-platform 3D audio API
 URL:            http://connect.creativelabs.com/openal/