Skip to content

Commit

Permalink
fix compilation error on osx 10.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrik Gustafsson committed Sep 9, 2014
1 parent 9ce2fa0 commit 4c3b674
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui-macos/bits/runpython.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* NSApplicationMain() looks for Info.plist using the path in argv[0], which
* goes wrong if your interpreter is /usr/bin/python.
*/
#include <Python.h>
#include <Python/Python.h>
#include <string.h>
#include <unistd.h>

Expand Down
4 changes: 2 additions & 2 deletions ui-macos/bits/runpython.do
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ fi
printf "\n"
gcc $ARCHES \
-Wall -o $3 runpython.c \
-I/usr/include/python2.5 \
-lpython2.5
-I/usr/include/python2.7 \
-lpython2.7

0 comments on commit 4c3b674

Please sign in to comment.