Commit 968d829b authored by David Fuhrmann's avatar David Fuhrmann

build: Fix build of VLCKit project

VLCROOT is now an absolute path, whereas it was a relative path
beforehand. Therefore, $PROJECT_DIR is not needed anymore as prefix.
parent 3650673a
...@@ -909,7 +909,7 @@ build_universal_static_lib() { ...@@ -909,7 +909,7 @@ build_universal_static_lib() {
# add contrib libraries to LDFLAGS # add contrib libraries to LDFLAGS
for file in $CONTRIBLIBS for file in $CONTRIBLIBS
do do
LDFLAGS+="\$(PROJECT_DIR)/${VLCROOT}/install-"$OSSTYLE"/contrib/$file " LDFLAGS+="${VLCROOT}/install-$OSSTYLE/contrib/$file "
done done
for file in $VLCMODULES for file in $VLCMODULES
...@@ -918,7 +918,7 @@ build_universal_static_lib() { ...@@ -918,7 +918,7 @@ build_universal_static_lib() {
entryname=$(get_symbol "$symbols" _) entryname=$(get_symbol "$symbols" _)
DEFINITIONS+="int $entryname (int (*)(void *, void *, int, ...), void *);\n"; DEFINITIONS+="int $entryname (int (*)(void *, void *, int, ...), void *);\n";
BUILTINS+=" $entryname,\n" BUILTINS+=" $entryname,\n"
LDFLAGS+="\$(PROJECT_DIR)/${VLCROOT}/install-"$OSSTYLE"/plugins/$file " LDFLAGS+="${VLCROOT}/install-$OSSTYLE/plugins/$file "
info "...$entryname" info "...$entryname"
done; done;
...@@ -932,7 +932,7 @@ build_universal_static_lib() { ...@@ -932,7 +932,7 @@ build_universal_static_lib() {
entryname=$(get_symbol "$symbols" _) entryname=$(get_symbol "$symbols" _)
DEFINITIONS+="int $entryname (int (*)(void *, void *, int, ...), void *);\n"; DEFINITIONS+="int $entryname (int (*)(void *, void *, int, ...), void *);\n";
BUILTINS+=" $entryname,\n" BUILTINS+=" $entryname,\n"
LDFLAGS+="\$(PROJECT_DIR)/${VLCROOT}/install-"$OSSTYLE"/plugins/$file " LDFLAGS+="${VLCROOT}/install-$OSSTYLE/plugins/$file "
info "...$entryname" info "...$entryname"
done; done;
BUILTINS+="#endif\n" BUILTINS+="#endif\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment