Browse Source

Add -lrt, fixes build on ArchLinux

tags/1.9.4
falkTX 11 years ago
parent
commit
abb8d0505c
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      source/backend/standalone/Makefile
  2. +1
    -1
      source/bridges/Makefile

+ 1
- 0
source/backend/standalone/Makefile View File

@@ -80,6 +80,7 @@ LINK_FLAGS += $(shell pkg-config --libs ntk ntk_images)
endif endif
endif endif


EXTRA_LIBS = -ldl -lrt
LINK_FLAGS += $(EXTRA_LIBS) LINK_FLAGS += $(EXTRA_LIBS)


# -------------------------------------------------------------- # --------------------------------------------------------------


+ 1
- 1
source/bridges/Makefile View File

@@ -57,7 +57,7 @@ endif
POSIX_BUILD_FLAGS = $(BUILD_PLUGIN_FLAGS) POSIX_BUILD_FLAGS = $(BUILD_PLUGIN_FLAGS)
POSIX_32BIT_FLAGS = $(32BIT_FLAGS) -L/usr/lib32 -L/usr/lib/i386-linux-gnu POSIX_32BIT_FLAGS = $(32BIT_FLAGS) -L/usr/lib32 -L/usr/lib/i386-linux-gnu
POSIX_64BIT_FLAGS = $(64BIT_FLAGS) -L/usr/lib64 -L/usr/lib/x86_64-linux-gnu POSIX_64BIT_FLAGS = $(64BIT_FLAGS) -L/usr/lib64 -L/usr/lib/x86_64-linux-gnu
POSIX_LINK_FLAGS = $(LINK_PLUGIN_FLAGS) $(shell pkg-config --libs jack) -ldl
POSIX_LINK_FLAGS = $(LINK_PLUGIN_FLAGS) -ldl -lrt


# -------------------------------------------------------------- # --------------------------------------------------------------
# Plugin bridges (Windows) # Plugin bridges (Windows)


Loading…
Cancel
Save