summaryrefslogtreecommitdiffstats
path: root/audio-creation/xsynth/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'audio-creation/xsynth/PRE_BUILD')
-rwxr-xr-xaudio-creation/xsynth/PRE_BUILD9
1 files changed, 1 insertions, 8 deletions
diff --git a/audio-creation/xsynth/PRE_BUILD b/audio-creation/xsynth/PRE_BUILD
index 7fc247227c..acd8ebc532 100755
--- a/audio-creation/xsynth/PRE_BUILD
+++ b/audio-creation/xsynth/PRE_BUILD
@@ -2,14 +2,7 @@ default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
# fix X11 lib path
-if check_if_xorg_modular_libs
-then
- sed -i "s|/usr/X11R6|\"$INSTALL_ROOT/usr\"|" \
- Makefile
-else
- sed -i "s|/usr|\"$INSTALL_ROOT/usr\"|" \
- Makefile
-fi &&
+sed -i "s|/usr/X11R6|\"$INSTALL_ROOT/usr\"|" Makefile &&
# fix broken linking
sed -i "s|-lm|-lm -ldl -lpthread -lXau -lXdmcp|" Makefile &&