mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
audio/portmidi: Fixed building with openjdk.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
26de7100a2
commit
c20fbd65f7
1 changed files with 4 additions and 0 deletions
|
@ -87,6 +87,10 @@ cmake . \
|
|||
-DCMAKE_CACHEFILE_DIR=$(pwd) \
|
||||
-DJAVA_JVM_LIBRARY="/usr/lib$LIBDIRSUFFIX/libjvm.so"
|
||||
|
||||
# some wrong paths expose with openjdk, fix them
|
||||
# https://bugs.archlinux.org/task/29214
|
||||
sed -i "s|pm_java/pm_java|pm_java|" pm_java/CMakeFiles/pmdefaults_target.dir/build.make
|
||||
|
||||
make all \
|
||||
CFLAGS="-fPIC" \
|
||||
PMFLAGS="-DNEWBUFFER"
|
||||
|
|
Loading…
Reference in a new issue