summaryrefslogtreecommitdiff
path: root/build.mak.in
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2012-03-08 07:44:41 +0000
committerBenny Prijono <bennylp@teluu.com>2012-03-08 07:44:41 +0000
commitf748efba1a534ad0183a758ab97d4463f2d0c4fb (patch)
tree2f3603b0ef17a6e4bc832cfd3d65b49dbf1eda1f /build.mak.in
parentd2a58207a17c6ab783b9d03261dcb570211a8263 (diff)
Re #1462: libresample as shared library support on Mac OS X
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3968 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'build.mak.in')
-rw-r--r--build.mak.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.mak.in b/build.mak.in
index c84966cc..ae52855d 100644
--- a/build.mak.in
+++ b/build.mak.in
@@ -9,6 +9,7 @@ export CC_NAME := gcc
export TARGET_NAME := @target@
export CROSS_COMPILE := @ac_cross_compile@
export LINUX_POLL := @ac_linux_poll@
+export SHLIB_SUFFIX := @ac_shlib_suffix@
export ac_prefix := @prefix@
@@ -22,7 +23,7 @@ export APP_THIRD_PARTY_LIB_FILES = $(PJ_DIR)/third_party/lib/libmilenage-$(LIB_S
ifeq (@ac_resample_dll@,1)
export PJ_RESAMPLE_DLL := 1
export APP_THIRD_PARTY_LIBS := -lresample $(APP_THIRD_PARTY_LIBS)
-export APP_THIRD_PARTY_LIB_FILES := $(PJ_DIR)/third_party/lib/libresample.so $(APP_THIRD_PARTY_LIB_FILES)
+export APP_THIRD_PARTY_LIB_FILES := $(PJ_DIR)/third_party/lib/libresample.$(SHLIB_SUFFIX) $(APP_THIRD_PARTY_LIB_FILES)
else
export APP_THIRD_PARTY_LIBS := -lresample-$(TARGET_NAME) $(APP_THIRD_PARTY_LIBS)
export APP_THIRD_PARTY_LIB_FILES := $(PJ_DIR)/third_party/lib/libresample-$(LIB_SUFFIX) $(APP_THIRD_PARTY_LIB_FILES)