Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed, install libbluray into /usr/lib on Linux because XB_FIND_SON…

…AME can't find it in /usr/local/lib, revert later

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32602 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information...
commit 0561794b275bed9dc78f9f776e8bf997b7150bff 1 parent 0bc76c3
davilla authored
Showing with 10 additions and 2 deletions.
  1. +10 −2 lib/libbluray/Makefile
12 lib/libbluray/Makefile
View
@@ -12,6 +12,8 @@
# Usage:
# make
# sudo make install
+#
+# Darwin only:
# make install_xbmc
# get OS type from shell
@@ -22,9 +24,15 @@ ifeq ($(OSTYPE),Darwin)
CFLAGS=-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I /opt/local/include
LDFLAGS=-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -L/opt/local/lib
CPPFLAGS=-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I /opt/local/include
+else
+ prefix=/usr
endif
-LIBBLURAY = libbluray/src/.libs/libbluray.dylib
+ifeq ($(OSTYPE),Darwin)
+ LIBBLURAY = libbluray/src/.libs/libbluray.dylib
+else
+ LIBBLURAY = libbluray/src/.libs/libbluray.so
+endif
all:: $(LIBBLURAY)
@@ -37,7 +45,7 @@ libbluray/configure:
ifeq ($(OSTYPE),Darwin)
cd libbluray; ./configure --prefix=$(prefix) --exec-prefix=$(prefix) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
else
- cd libbluray; ./configure
+ cd libbluray; ./configure --prefix=$(prefix) --exec-prefix=$(prefix)
endif
ifeq ($(OSTYPE),Darwin)
Please sign in to comment.
Something went wrong with that request. Please try again.