Skip to content

Instantly share code, notes, and snippets.

@cesare
Created May 15, 2012 17:17
Show Gist options
  • Save cesare/2703414 to your computer and use it in GitHub Desktop.
Save cesare/2703414 to your computer and use it in GitHub Desktop.
Sample bash script to build PJSIP library for iphone SDK
#!/bin/bash
srcdir="${HOME}/src/pjproject-2.0-rc"
cd ${srcdir}
(
cat <<END
#define PJ_CONFIG_IPHONE 1
#include <pj/config_site_sample.h>
END
) > pjlib/include/pj/config_site.h
./configure-iphone && make dep && make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment